You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per offline discussion with @leebyron and @dschafer we'll probably have to add support for fragment aliases in the language to make this seamless. This would use your earlier proposal, @fson:
# Relay products
fragment on User {
foo: ${Child.getFragment('foo')},
}
# Raw GraphQL
fragment on User {
foo: ...sub_0 # name generated by `relay-babel-plugin`
}
Thought it might be useful to open a ticket here as a reminder or for more discussion.
Saw this idea referenced in a Relay ticket: facebook/relay#309 (comment)
Thought it might be useful to open a ticket here as a reminder or for more discussion.