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

Schema pruning update #98

Merged
merged 2 commits into from
May 18, 2022
Merged

Schema pruning update #98

merged 2 commits into from
May 18, 2022

Conversation

tlivings
Copy link
Collaborator

Also includes updated to TS definitions

@@ -2,7 +2,7 @@

const Test = require('tape');
const gql = require('graphql-tag');
const { SchemaDirectiveVisitor } = require('@graphql-tools/utils');
const { SchemaDirectiveVisitor } = require('graphql-tools');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i could be wrong but don't they recommend using the more specific graphql-tools packages instead of the top level graphql-tools package?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 Is this to avoid breaking change of the graphql-component as the the version @graphql-tools/utils": "^8.6.10 does not have the SchemaDirectiveVisitor?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes but I didn't want to do the full migration yet. We've historically used this older package and a lot of breaking changes in newer packages (like schema directive visitor stuff).

@tlivings tlivings merged commit 8b54967 into master May 18, 2022
@tlivings tlivings deleted the prune-update branch May 18, 2022 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants