hello, maybe a silly one, but graphQL is something completely new to me. I'm able to retrieve some informations using graphQL but overwriting existing data/creating is something i'm stuck in. Can someone please advise about syntax? i just stuckat sth like this:
mutation UpdateCustomFieldOptions()
{
compass {
updateCustomFieldDefinition(
cloudId: ID!
definitionId: ID!
input: textInput!)
success
errors {
message
extensions {
errorType
}
}
customFieldDefinition {
definitionId
name
type
# Query the updated options to confirm the change
... on CompassDropdownCustomFieldDefinition {
options {
id # Existing options require their ID
value # The display name of the option
}
}
}
}
}