are mutations possible with Apollo Federation? #4194
Replies: 3 comments 2 replies
-
@squarewave24 Have you found a solution? PUSH PUSH |
Beta Was this translation helpful? Give feedback.
-
Yes, they are supported. In the same/similar way that services/subgraphs should For example, following the example above, one of the subgraphs would: type Result {
success: Boolean
}
extend type Mutation {
review(date: String review: String): Result
} This would result in a Looking at the error message in the original post, it appears that none of the services in the graph have utilized Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
right but you can't extend the a
Currently only the first step is doable with federation, I think I need to use a message queue between the microservices or a Saga pattern to achieve that goal |
Beta Was this translation helpful? Give feedback.
-
I am not clear if this is the right pattern, but i am using Apollo Geteway with my react app connecting to python api's using graphene.
all queries work fine, but when trying to use a mutation i git this generic error below.
the query works when i paste it into the endpoint graphql playground, but not from apollo geteway playground :(
query:
error:
versions:
Beta Was this translation helpful? Give feedback.
All reactions