[Storage] Initial code-gen v0.4.0
(with some dependencies)
#1958
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose:
This pull-request contains the initial output of the Rust
tsp-client
generator. This pull request contains necessary changes to the main repo to support successful code generation including:emitter-package.json
"@azure-tools/typespec-rust"
fromv0.3.0
->v0.4.0
@azure-tools/typespec-azure-rulesets
required for code-genNote: We may want to consider having some automation to open a PR that automatically bumps these dependencies when a new version is released- I've bumped into this issues many times working between
v0.2.0
and now. The above dependency version can get out of sync with thedevDependencies
and can be slightly difficult to diagnose if not prudently scanning versions for mismatchesTODOs to get this in a merge-able state:
1. feature/blob-tsp needs to land in a stable state that can be generated from without hand-edits
Relevant GH Issue: https://github.com/Azure/typespec-rust/issues/60
Currently we are generating against this commit, which contains hand-edits to remove the pageable operations w/ continuation tokens which are not yet supported.
2. Barring the above issue, the initial output of the generated code does not successfully compile.
Relevant GH Issue: https://github.com/Azure/typespec-rust/issues/183
Once the above dependencies are complete, we can look to upgrade this from Draft.
Note: One-off to look into- may need to add generated code to
cspell.json
or add the "new" words to the definitions.