Is it possible to chain a query and a mutation into the same GraphQL call? #9260
-
Let's say I want to search for a user with a specific email and if this user exists, create a token assigned to this user id - is this feasible in a single request, or do I need to make 2 requests (one query, one mutation)? I couldn't find any example of this type of scenario anywhere. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
@nbouvrette |
Beta Was this translation helpful? Give feedback.
-
@nbouvrette We have a previous webinar that you may find informative. Please let us know if you need any additional info. |
Beta Was this translation helpful? Give feedback.
-
Yes, actually I asked a similar question on Stackoverflow and I think I got the answer I was looking for: This is not possible today. Also, I was shared with this link which is an RFC being worked on to support that kind of feature: #1573 |
Beta Was this translation helpful? Give feedback.
Yes, actually I asked a similar question on Stackoverflow and I think I got the answer I was looking for:
This is not possible today.
Also, I was shared with this link which is an RFC being worked on to support that kind of feature: #1573