Azure / Azure/typespec-rust

Implement 'fragment' style

Open
#475 0 comments 0 reactions 0 assignees View on GitHub
CodeGen
Dominant language
Rust
Stars
7
Forks
11
Avg merge
2d 5h
Merged PRs (30d)
5

Description

In https://github.com/microsoft/typespec/issues/7688, I asked the Typespec team:

"A question on https://github.com/microsoft/typespec/tree/main/packages/http-specs/specs/routes :
I don't see any tests for 'fragment' style ('#' delimiter?). If that style is not deprecated, could they get added? Not sure how to implement this, specifically what is expected when explode=true. A test would clarify that. Currently, we have to throw if we see 'fragment' because we aren't sure if the code we'd emit is correct, and we'd prefer not to add such code that is not covered by tests."

So, when/if Spector team adds test for 'fragment', add support for it.

_From https://github.com/Azure/typespec-rust/issues/471#issuecomment-2989160884_
See also https://github.com/Azure/typespec-rust/pull/394#discussion_r2153363420

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.