Skip to main content

UpdateRolePayload

The output of our update Role mutation.

type UpdateRolePayload {
clientMutationId: String
role: Role
query: Query
roleEdge(
orderBy: [RolesOrderBy!] = [PRIMARY_KEY_ASC]
): RolesEdge
}

Fields​

UpdateRolePayload.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.

UpdateRolePayload.role ● Role object​

The Role that was updated by this mutation.

UpdateRolePayload.query ● Query object​

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

UpdateRolePayload.roleEdge ● RolesEdge object​

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

UpdateRolePayload.roleEdge.orderBy ● [RolesOrderBy!] list enum​

The method to use when ordering Role.

Returned By​

updateRole mutation ● updateRoleByNodeId mutation