mutation CreateFmfirmwarecompliance($user1: UserType!, $user2: UserType!,) {
createFmfirmwarecompliance(input: $user1) {
description
name
}
createFmfirmwarecompliance(input: $user2) {
description
name
}
}
mutation CreateFmfirmwarecompliance($user1: UserType!, $user2:
UserType!,) {
m1: createFmfirmwarecompliance(input: $user1) {
description
name
}
m2: createFmfirmwarecompliance(input: $user2) {
description
name
}
}
I need to send 2 mutation in single mutation object. I tried 2 ways for genrating the Apollo mutation objects but I am getting error in both.Though using the second way I am able to send the mutation successfully in doorway.