-
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
[Modern] FlattenTransform: Cannot flatten fragment spread %s with arguments. Use the ApplyFragmentArgumentTransform
before flattening
#2118
Comments
Facing the same issue. |
I am having the same issue. My use case was trying to add
and the query is like this
|
try this ...A_viewer @arguments(...) @relay(mask: false) |
Do you mean moving |
Did you figure this out? I am facing the same issue |
I've put a question up here: https://stackoverflow.com/questions/49648794/error-when-trying-to-unmask-relay-modern-fragment-that-has-arguments Hopefully we can get to the bottom of this 💪 |
the only way to fix it is like
so you can the share the properties of the viewer fragment but not the total fragment |
@jantoebes would you mind explaining that solution? I don't understand that if |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am getting this error:
https://github.com/facebook/relay/blob/master/packages/relay-compiler/graphql-compiler/transforms/FlattenTransform.js#L160
Could someone explain how to use suggested
ApplyFragmentArgumentTransform
?I could not find any examples or documents regarding
ApplyFragmentArgumentTransform
.The text was updated successfully, but these errors were encountered: