-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Storage] Initial v0.7.0
codegen
#1981
base: main
Are you sure you want to change the base?
Conversation
Originally posted by @heaths in #1959 (comment) Hi Heath, just wanted to touch base as to whether this is your expected directory structure? If so, I will look to merge our old initial scaffolding (which is the |
v0.5.0
codegen, fixing directory azure_storage_blob
-> azure_storage_blobs
v0.6.0
codegen, fixing directory azure_storage_blob
-> azure_storage_blobs
Looks like it. Basically, you should follow the naming convention you use for other languages (but idiomatic, so underscores here). Looking at https://azure.github.io/azure-sdk/, I see both "Azure Storage Blobs" and "Azure Storage Blob". I guess pick which makes the most sense to you. Personally, I prefer the plural "blobs" since it works with Storage Blobs - not a blob. |
Hi Heath, that sounds good to me, I also started an email thread to loop in our PMs to see if they have any strong feelings or guidance wrt the naming and will land on something after all that feedback is received. Thanks! |
v0.6.0
codegen, fixing directory azure_storage_blob
-> azure_storage_blobs
v0.6.0
codegen
This is ready for review, but is failing CI for several duplicates of the same issue:
This issue will be resolved as a result of finding a solution for: https://github.com/Azure/typespec-rust/issues/218 , so if that solves in a timely manner we can wait for it, otherwise curious to hear what the path forward should be. In the meantime, we will be continuing to work on fleshing out the get blob properties API in a separate branch based off this branch. |
The unused Also, it looks like you need to execute |
@jhendrixMSFT said,
Can we have the tool do that? It's not something authors should have to know/remember to do. |
I would really prefer to have the emitter just emit code and not have any dependency on 3rd party tools to perform any post-processing. This is why in the Go repo we have Is there a mechanism we can use to invoke some post-generation command, or do we need to wrap building in a script to do this? |
FYI I removed the containerName definition from client.tsp. This might change in a few days however as the client.tsp is restructured to output a better generated client design. |
Using a We could have a script or |
My mental model is that any process external to the TypeSpec toolchain/emitter is a "3rd party tool". Maybe a "hidden dependency" is a better way to phrase it. When you Agreed that |
We have #1972 tracking that currently. |
v0.6.0
codegenv0.7.0
codegen
Can you please resolve the merge conflicts? |
Definitely, resolving that right now. Spinning on generating the lockfile. |
Alrighty, I have resolved all the merge conflicts and cspell issues. The remaining issues are with the "Run source analysis" step (sample except):
Any insight on what is the correct path forward? This should be our final blocker 😄 |
It's coming from the doc comments in the tsp. example Presumably the doc comments need to be updated. At least I think that's the preferred solution. |
I updated the tsp in the feature branch to clean up these doc comments. |
This is currently pointed to vincenttran/blob-tsp-test2, which contains the necessary stop-gap changes from feature/blob-tsp to allow this typespec definition to be ingested.
crate-version
(this is required by the emitter)storage_blob
toazure_storage_blob
and combining with our handwritten wrapper code