-
-
Notifications
You must be signed in to change notification settings - Fork 796
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
[3.0.0] Regression with fragments that have fields with variables #753
Labels
blocking
Prevents production or dev due to perf, bug, build error, etc..
bug
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
Comments
ghost
added
blocking
Prevents production or dev due to perf, bug, build error, etc..
bug
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
labels
Apr 26, 2018
xzyfer
changed the title
[3.0.0.beta.0] Regression with fragments that have fields with variables
[3.0.0-beta.0] Regression with fragments that have fields with variables
Apr 26, 2018
ghost
added
blocking
Prevents production or dev due to perf, bug, build error, etc..
bug
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
labels
Apr 26, 2018
Sigh I've just moved those around to fix another bug. Here is the problem: https://github.com/apollographql/graphql-tools/blob/master/src/transforms/FilterToSchema.ts#L100-L105 Fragments do |
xzyfer
changed the title
[3.0.0-beta.0] Regression with fragments that have fields with variables
[3.0.0] Regression with fragments that have fields with variables
May 3, 2018
ghost
added
blocking
Prevents production or dev due to perf, bug, build error, etc..
bug
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
labels
May 3, 2018
I've bisected the regression to 663c9af |
xzyfer
pushed a commit
to xzyfer/graphql-tools
that referenced
this issue
May 25, 2018
A regression was introduced in 3.0.0-beta.0 (663c9af) and shipped in 3.0.0 which caused an error if a fragment field argument used a variable defined in the parent query. Fixes ardatan#753
5 tasks
xzyfer
pushed a commit
to xzyfer/graphql-tools
that referenced
this issue
May 25, 2018
A regression was introduced in 3.0.0-beta.0 (663c9af) and shipped in 3.0.0 which caused an error if a fragment field argument used a variable defined in the parent query. Fixes ardatan#753
xzyfer
pushed a commit
to xzyfer/graphql-tools
that referenced
this issue
May 25, 2018
A regression was introduced in 3.0.0-beta.0 (663c9af) and shipped in 3.0.0 which caused an error if a fragment field argument used a variable defined in the parent query. Fixes ardatan#753
xzyfer
pushed a commit
to xzyfer/graphql-tools
that referenced
this issue
Jun 5, 2018
A regression was introduced in 3.0.0-beta.0 (663c9af) and shipped in 3.0.0 which caused an error if a fragment field argument used a variable defined in the parent query. Fixes ardatan#753
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
blocking
Prevents production or dev due to perf, bug, build error, etc..
bug
has-reproduction
❤ Has a reproduction in a codesandbox or single minimal repository
We've run into an issue with fragments that have fields with variables.
This can come about when bubbling up fragments that are co-located with their component code.
Note: this is not to be mistaken with the experiment fragment variables feature.
I've done some debugging and narrowed the issue down to
mergeSchemas
.Without it everything works as expected. I suspect something isn't get merged correctly.
Setup
Minimal reproduction setup
Execution
Output in 2.x
Output in 3.0.0-beta.0
The text was updated successfully, but these errors were encountered: