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

Add unique argument names validation rule #1136

Merged
merged 7 commits into from
May 2, 2022

Conversation

vhenzl
Copy link
Contributor

@vhenzl vhenzl commented May 2, 2022

Adds SDL validation rule UniqueArgumentDefinitionNames.

Corresponding change in the reference implementation: graphql/graphql-js@2170e4a

With this PR, graphql-php contains all SDL validation rules from graphql-js.

@spawnia
Copy link
Collaborator

spawnia commented May 2, 2022

With this PR, graphql-php contains all SDL validation rules from graphql-js.

🎉

src/Validator/Rules/UniqueArgumentDefinitionNames.php Outdated Show resolved Hide resolved
src/Validator/Rules/UniqueArgumentDefinitionNames.php Outdated Show resolved Hide resolved
src/Validator/Rules/UniqueArgumentDefinitionNames.php Outdated Show resolved Hide resolved
src/Validator/Rules/UniqueArgumentDefinitionNames.php Outdated Show resolved Hide resolved
@spawnia spawnia merged commit 00eff2e into webonyx:master May 2, 2022
@spawnia
Copy link
Collaborator

spawnia commented May 2, 2022

@vhenzl Do you plan any more changes that we should include before cutting a v15 release?

@vhenzl vhenzl deleted the rule-unique-arg-definition-names branch May 4, 2022 05:17
@vhenzl
Copy link
Contributor Author

vhenzl commented May 4, 2022

@spawnia Yeah, there are a few things I would like to solve. I'll put together a summary.

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