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

Extract check for unique type names into separate rule #998

Merged
merged 6 commits into from
Feb 18, 2022

Conversation

vhenzl
Copy link
Contributor

@vhenzl vhenzl commented Oct 31, 2021

Introduces UniqueTypeNames validation rule.

Corresponding change in the reference implementation: graphql/graphql-js@257797a

Tests are failing because of #997.

@vhenzl vhenzl marked this pull request as ready for review February 18, 2022 05:57
src/Utils/SchemaExtender.php Outdated Show resolved Hide resolved
tests/Validator/UniqueTypeNamesTest.php Outdated Show resolved Hide resolved
@vhenzl
Copy link
Contributor Author

vhenzl commented Feb 18, 2022

This should be good to go now.

@spawnia spawnia merged commit 4f7db61 into webonyx:master Feb 18, 2022
@spawnia
Copy link
Collaborator

spawnia commented Feb 18, 2022

Nicely done, thank you

@vhenzl vhenzl deleted the rule-unique-type-names branch February 18, 2022 21:16
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.

None yet

2 participants