Skip to main content

UpdateRulePayload

The output of our update Rule mutation.

type UpdateRulePayload {
clientMutationId: String
rule: Rule
query: Query
workspace: Workspace
ruleEdge(
orderBy: [RulesOrderBy!] = [PRIMARY_KEY_ASC]
): RulesEdge
}

Fields​

UpdateRulePayload.clientMutationId ● String scalar​

The exact same clientMutationId that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations.

UpdateRulePayload.rule ● Rule object​

The Rule that was updated by this mutation.

UpdateRulePayload.query ● Query object​

Our root query field type. Allows us to run any query from our mutation payload.

UpdateRulePayload.workspace ● Workspace object​

Reads a single Workspace that is related to this Rule.

UpdateRulePayload.ruleEdge ● RulesEdge object​

An edge for our Rule. May be used by Relay 1.

UpdateRulePayload.ruleEdge.orderBy ● [RulesOrderBy!] list enum​

The method to use when ordering Rule.

Returned By​

updateRule mutation ● updateRuleByNodeId mutation