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(buildSchema): add option to keep unused types #294

Merged

Conversation

craicoverflow
Copy link
Contributor

Closes #293

This PR adds a keepUnusedTypes config option to buildSchema(), which defaults to false, so there is no breaking change to this change.

Verification

See the unit test added.

@craicoverflow craicoverflow force-pushed the feat/preserve-unused-types branch 2 times, most recently from cb9232c to 9dfa299 Compare October 6, 2020 21:41
@nodkz nodkz merged commit f7ef0dd into graphql-compose:master Oct 11, 2020
@nodkz
Copy link
Member

nodkz commented Oct 11, 2020

Thanks! 👍
A little bit improved and merged 😉

@github-actions
Copy link

🎉 This PR is included in version 7.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There should be a way to preserve unused types on buildSchema()
2 participants