Questions tagged [graphql-mutation]
129 questions
0
votes
1 answer
Creating subscription using graphene relay
I am new to graphQL graphene(python). I would like to know if it is possible to create subscription root type using graphene. Thank you

Bello Mayowa
- 45
- 2
- 7
-1
votes
1 answer
GraphQL/Relay - How to pass a mutation's input variable into a query on the mutation response?
Given a mutation like this (see how nextArticle needs an ID passing):
mutation markArticleCompleteMutation(
$input: markArticleCompleteInput!
) {
markArticleComplete(input: $input) {
user {
nextArticle(excludeArticleId:…

MDalt
- 1,681
- 2
- 24
- 46
-1
votes
1 answer
Creating Shopify Order Over Graphql
I have a Mobile app made with flutter and when a client wants to place an order it opens Webview checkout,
my question is how to create an order with cash on delivery over Graphql to avoid opening Webview
I searched in docs but I did not find a…
-1
votes
1 answer
ERROR : Unknown field 'discussion' on type 'Mutation'. with Relay and React `useMutation` hook
I'm facing an issue on which I don't find any way to solve on internet. Hoping someone could help me here :).
I've followed the Relay step-by-step guide to improve myself on Relay and GraphQL…

Sourouche
- 11
- 1
-1
votes
1 answer
How many GraphQL mutations does it take to change a light bulb?
I mean, really. How many?
1? changeTheLightBulb()
or 2? removeTheLightBulb() + addNewLightBulb()

matus
- 1,483
- 4
- 16
- 19
-1
votes
2 answers
How can I do to do mutations using React.js?
I am trying to do some mutations using graphql and react.js but I got a problem. Indeed I got the following message :
ESLint: React Hook "useMutation" is called in function "onSubmit" that is neither a React function component nor a custom React…

teatzr
- 59
- 7
-1
votes
1 answer
GraphQL Mutation Input Query in chain method
I am working in GraphQL for mutation query. I have created Argument in constructor way, I would like to convert this in chain method
Field(
"authenticate",
arguments: new QueryArguments(
new…

Deepak.Aggrawal
- 1,249
- 11
- 24
-1
votes
1 answer
Graphql schema for add friends
Hi I want to create schema for friends functionality. Where logged in user can send friend request to registered users. I have 2 table users and relation and can be able to get own friends. Its working in redux and react with node mysql. But I don’t…

Pardip Bhatti
- 41
- 3
-2
votes
3 answers
Graphql mutation query : how to access the data elements
const MUTATION_QUERY = gql`
mutation MUTATION_QUERY(
$name: bigint!
) {
insert_name(
objects: {
name: $name
}
) {
returning {
id
name
}
}
}
`;
const [onClick, { error, data }]…

Tanu
- 1,286
- 4
- 16
- 35