By default, the GraphQL schema stawberry generates uses the same ordering as the order fields in which fields are defined. This makes the /graphql
introspection UI hard to parse. As a consumer of this UI and the exported schema.graphql files, it's very hard to find all query fields associated with some concept (like userBy...
) because these are not logically grouped together.
It would be amazing if stawberry could (either by default or as a configuration option) support running lexicographicSortSchema
(reference) on the schema. This would take care of updating both the introspection UI, and exported schema file.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too