GraphQL Interface without fields leads to error in mutation #24803
-
Hi, when using the mutation addLabelsToLabelable it returns two fields
I would like to use labelable since I label a PullRequest, which implement the Labelable interface. But that interface has no fields. So I cannot give any field in the mutation, which leads to the error:
So the only “workaround” is to use clientMutationId instead and receive the null. But I would like to receive e.g. the title of the labeled Pull Request. Is that possible? Thanks and Cheers, Lars |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
From what I understand, you should be able to use the same
Let us know if you have more questions. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot, that does the job! Cheers, Lars |
Beta Was this translation helpful? Give feedback.
From what I understand, you should be able to use the same
... on PullRequest
syntax that you would use in a query that returns multiple object types. So something like this:Let us know if you have more questions.