Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(): Add sortSchema option #997

Merged
merged 1 commit into from Jul 2, 2020
Merged

Conversation

mattleff
Copy link
Contributor

@mattleff mattleff commented Jun 25, 2020

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #993 (closes #993)

What is the new behavior?

Providing the sortSchema option to the GraphQLModule will sort the schema lexicographically.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

I don't consider this to be a breaking change.

Other information

@kamilmysliwiec
Copy link
Member

Would you like to create a PR to the docs with this feature? Maybe in this section https://docs.nestjs.com/graphql/quick-start#code-first

@mattleff
Copy link
Contributor Author

@kamilmysliwiec I've added a PR: nestjs/docs.nestjs.com#1323.

@kamilmysliwiec kamilmysliwiec merged commit ad38ca0 into nestjs:master Jul 2, 2020
@mattleff mattleff deleted the sort-schema branch July 2, 2020 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature: Sort printed autoSchemaFile
2 participants