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

Support Args in ProjectedNames #563

Merged
merged 2 commits into from
Jan 24, 2021
Merged

Support Args in ProjectedNames #563

merged 2 commits into from
Jan 24, 2021

Conversation

nickhudkins
Copy link
Contributor

After a little digging, thanks to @kirach's fork, I saw that the fix for the problem @yanns ran into sangria-graphql-org#10 (comment) was a trivial fix.

I also updated the test cases to ensure queries with variables are a tested case.

Closing #468 in favor of this due to nasty rebasing from a long out of date branch :)

@nickhudkins nickhudkins mentioned this pull request Jan 15, 2021
@nickhudkins
Copy link
Contributor Author

Is it worth trying to make this binary compatible? It would add a pretty substantial amount of code just implementing this, copy, apply, tupled etc... and I am not sure that it is worth it, but happy to do so if that is of interest.

Copy link
Contributor

@yanns yanns left a comment

Choose a reason for hiding this comment

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

I don't think it's possible to make it binary compatible.
You can add an exception rule for this.

The following classes have binary incompatible changes.
  - sangria.schema.ProjectedName
  - sangria.schema.Args
@nickhudkins nickhudkins merged commit 22f714c into master Jan 24, 2021
@nickhudkins nickhudkins deleted the args-variables branch January 24, 2021 19:56
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.

2 participants