Skip to content

Update spector test to stop requiring dictionaries being sorted by key #7687

Open
@antkmsft

Description

@antkmsft

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lib:http-specsFor issues/prs related to the @typespec/http-specs package

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions