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
I opened an issue on graphql-js here graphql/graphql-js#3971 but it was closed due to there being a trivial work-around. We can use this approach in this library to resolve my issue.
Describe the solution you'd like
Add a field to the options on loadSchemaSync which enables sorting only the top level declarations
Is your feature request related to a problem? Please describe.
This library is a dependency of graphql-code-generator which is used to produce a generated schema file.
dotansimha/graphql-code-generator#6935
I opened an issue on graphql-js here graphql/graphql-js#3971 but it was closed due to there being a trivial work-around. We can use this approach in this library to resolve my issue.
Describe the solution you'd like
Add a field to the options on
loadSchemaSync
which enables sorting only the top level declarationsI can prepare a PR for this myself.
Describe alternatives you've considered
Currently I am applying a patch to the graphql-js lexicographicSortSchema function in order to produce my desired output.
Additional context
The text was updated successfully, but these errors were encountered: