-
Notifications
You must be signed in to change notification settings - Fork 280
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
Fragment is never used if you used more than once in the same query #1851
Comments
We hit this on v0.16 and upgraded to the most recent RC (a huge pain without a documented upgrade path) and it worked. Not a great solution at all but it seems like something must've happened on the Apollo Studio side of things that made it incompatible. |
@Geal I had a hard time understanding the config structure changes because I had to piece things together based on the changelog. I suspect we're not the only case here and it would be good to clearly document upgrade paths (like Also, I think most of the documentation is updated to v1.0 (here) so anyone running previous versions would be trying to implement invalid configurations. Versioned documentation would be a good idea but honestly maybe just a documented full configuration per supported version would be a good first step. I've seen other projects also use a compatibility matrix but I'm not completely sure how useful that would be here. |
@hobbsh the changelog was the right place to look at to understand the upgrade path. We took care in explaining clearly the breaking changes, but maybe that was not enough. Could you point at specific instances that were confusing so we can improve the changelog moving forward? Please understand that every release before 1.0, which was published yesterday, was a preview without guarantee of stability and upgrade paths, because everything was still in development. Keeping versioned docs and upgrade docs for each of those versions was completely impractical for us. That said, now that 1.0 is published, you can expect the documentation to be stable, and any breaking changes would have to wait for a far off 2.0 version, for which we'll indicate clearly the changes. |
@yurisbel-hernandez did updating the router fix the issue for you? |
I'm going to close this as I believe it's fixed. Happy to re-open if that turns out not to be the case. Thanks for reporting this originally! |
I'm getting Fragment is never used if I try to reuse a fragment more than once in the same query.
To Reproduce
Configure router and 2 subgraph’s
Hit the router with
Subgraph 1 is getting this query.
Expected behavior
Output
Desktop
Note
I already tried
and getting the same error
The text was updated successfully, but these errors were encountered: