-
Notifications
You must be signed in to change notification settings - Fork 267
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
Add Support For Uri Template Path Expansion #5561
Comments
This is covered by existing cadl-ranch scenarios - need to link to the existing scenarios - under Routes. |
There isn't BCL support for Uri Template as far as we know - #3736 (comment). We would need BCL support for this as we won't be rolling our own Uri Template parser. |
The only part that is a GA requirement is |
Ideally, BCL would provide support for this. We should start an email thread on this topic. |
The plan is that this should be supported in TCGC so that languages can avoid taking runtime dependencies on uri template libraries and so that the logic is consistent across languages. TCGC would need to parse the URI template into an AST that is passed back to all of the emitters. |
Basic parameter replacement can be supported in the meantime, e.g.
should be able to be generated. Currently this crashes. |
Follow up to #5396. Typespec added uri template support which allows for path expansion for path parameters. The emitter + MGC currently only support exploding query parameters but a design should be considered to support the same for path expansion.
Typespec ref: #3736 (comment)
The text was updated successfully, but these errors were encountered: