You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an existing issue that is already proposing this?
I have searched the existing issues
Is your feature request related to a problem? Please describe it
The sortSchema: true option in GraphqlConfig performs alphabetical sorting. However, because it returns sorted results including all fields as well as type, there is a problem that the structure is not intuitive when looking at the schema.
Describe the solution you'd like
I think it would be very useful, if possible, to break down the options like this:
This has been discussed in the past and we decided to not implement it in the foreseeable future.
If you think your request could live outside Nest's scope, we'd encourage you to collaborate with the community on publishing it as an open source package.
Is there an existing issue that is already proposing this?
Is your feature request related to a problem? Please describe it
The
sortSchema: true
option inGraphqlConfig
performs alphabetical sorting. However, because it returns sorted results including all fields as well as type, there is a problem that the structure is not intuitive when looking at the schema.Describe the solution you'd like
I think it would be very useful, if possible, to break down the options like this:
Teachability, documentation, adoption, migration strategy
No response
What is the motivation / use case for changing the behavior?
Let's say schema.graphql, built with
sortSchema: false
, looks like this:Even though Board is declared before Author, the roles and relationships of each type are explained in an intuitive and easy-to-understand manner.
But I want Author to be before Board in alphabetical sort order, so if I do the
sortSchema: true
option, the result will be:How do you feel? Is it easy to recognize? Probably not most people who see this type.
So I would like to get output like this:
The text was updated successfully, but these errors were encountered: