Stitching + mutation query field fails #3158
Labels
Area: Stitching
Issue is related to schema stitching / federation
🐛 bug
Something isn't working
🌶️ hot chocolate
⌛ stale
Nothing happened with this issue in quite a while
Milestone
Describe the bug
RelayOptions's
AddQueryFieldToMutationPayloads
introduced thequery
field to all mutation payload types, but it doesn't work in stitching. At least I think that's the issue.To Reproduce
Stitched scenario, in our case we are still doing stitching via .graphql files on the gateway (just in case that matters).
Query like so:
Expected behavior
Mutation executes, query executes, booking is returned.
Actual:
Note: if we expose the booking as a field on the mutation payload ourselves, all is fine. It just seems like stitching +
query
is a no go and the stack trace clearly says it's something to do with selection set stuff.Desktop (please complete the following information):
Additional context
N/A.
The text was updated successfully, but these errors were encountered: