0

My schema looks like this within the yellow coloured square in the image below enter image description here

And the code on the left side doesn't really work. How can I call this in GraphQL playground?

Appreciate your answer in advance!

idhxx
  • 45
  • 5

1 Answers1

3
  1. you can do input QUERY VARIABLES like
{ 
 "input": {
    "scheduleId: "123",
    "reason": "123"
 }
}
  1. also you can input variables to directly
mutation {
 cancelScheduleByAdmin(input: {
    "scheduleId": "123",
    "reason": "123"
 }) {
   ...
 }
}
fuzes
  • 1,777
  • 4
  • 20
  • 40