Closed dphinc closed 2 years ago
How would you code the following mutation that returns an ID upon creation:
mutation CreateTeamPipeline { teamPipelineCreate(input: {teamID: "...", pipelineID: "...", accessLevel: READ_ONLY}) { teamPipeline { id } } }
You should define a variable with the corresponding structure that includes an ID field, and pass it to the Mutate method. The ID field in the variable you passed will be populated.
ID
Mutate
Have you looked at the Mutations section in the README?
How would you code the following mutation that returns an ID upon creation: