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
Many thanks for the repo! Still baffles me URQL and Apollo haven't got something like this natively...
A bug i've noticed is that this doesn't support nested Fragment's:
e.g.
query myQuery {
object1 {
fieldA,
...object1Fields
}
}
fragment object1Fields on object1 {
fieldB,
object2 {
...object2Fields
}
}
fragment object2Fields on object2 {
fieldC,
}
fieldA and fieldB are mapped properly, but fieldC is ignored. Pulling the field out of the object2Fields fragment and putting it directly in to object1Fields does however work.
e.g.
query myQuery {
object1 {
fieldA,
...object1Fields
}
}
fragment object1Fields on object1 {
fieldB,
object2 {
fieldC
}
}
The text was updated successfully, but these errors were encountered:
Many thanks for the repo! Still baffles me URQL and Apollo haven't got something like this natively...
A bug i've noticed is that this doesn't support nested Fragment's:
e.g.
fieldA and fieldB are mapped properly, but fieldC is ignored. Pulling the field out of the object2Fields fragment and putting it directly in to object1Fields does however work.
e.g.
The text was updated successfully, but these errors were encountered: