microsoft / microsoft/typespec
Update spector test to stop requiring dictionaries being sorted by key
Open
lib:http-specs
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
A question on https://github.com/microsoft/typespec/tree/main/packages/http-specs/specs/routes :
When passing dictionaries, Spector does not allow reverse order, it requires sorted. Is this intended? If not, can this get updated? In Rust, order is not guaranteed, so we have to emit code that sorts the dictionary before serializing it.
Contributor guide
Assessment
This issue has not been assessed yet.