-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Warning for last + after #247
Comments
I should note that |
cc @yuzhi |
Thanks for reporting and providing such complete information. Looking at the query it is trying to send to the server, it has both a before and after call. That can only happen when we have a gap of unknown edges between two segment of known edges.
My best guess is you have some components fetching the The warning is mainly to prevent people from directly doing @josephsavona do you think we can move that warning about doing |
@yuzhi Awesome idea, I'm on it. |
That is correct :) |
@josephsavona I can remove the warning from GraphQLRange once you update the transform. |
@yuzhi sounds perfect |
…rrors Summary: Makes the use of `field(before: .., first: ..)` or after/last an error. This combination is only supported when generated by Relay during the diffing process. Also, the previous version replaced invalid GraphQL templates with a function that throws - while I was at it, I changed this to include the actual validation error message. Addresses #247 Closes #252 Reviewed By: @yuzhi Differential Revision: D2419715
Removed it from GraphQLRange a04a514 |
…rrors Summary: Makes the use of `field(before: .., first: ..)` or after/last an error. This combination is only supported when generated by Relay during the diffing process. Also, the previous version replaced invalid GraphQL templates with a function that throws - while I was at it, I changed this to include the actual validation error message. Addresses #247 Closes #252 Reviewed By: @yuzhi Differential Revision: D2419715
I'm getting this warning:
For this query fragment:
Which appears to convert to:
The text was updated successfully, but these errors were encountered: