-
Notifications
You must be signed in to change notification settings - Fork 53
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
makeConnectionId doesn't works incorrectly with multiple @connection on a fragment #437
Comments
I'm surprised the compiler allows multiple connections in one fragment. It's not something that'll be supported - move those out to separate fragments if you want the helpers to work ( What's the point of having the connection directives both but no arguments for refetching? Or is this just a condensed example? |
My bad, that's the correct behavior 😅 |
There are multiple mutations with
that update different connections for different edge types on one fragment. |
eg:
And
Instead of passing
|
Right! That looks good. And it's working as intended now breaking things out to two fragments? |
The
makeConnectionId
works with only one connection and ignores the other ones.Here's the fragment example:
The generated code looks like this:
The text was updated successfully, but these errors were encountered: