Skip to main content

CreateRolePayload

The output of our create Role mutation.

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

Fields

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

CreateRolePayload.role ● Role object

The Role that was created by this mutation.

CreateRolePayload.query ● Query object

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

CreateRolePayload.roleEdge ● RolesEdge object

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

CreateRolePayload.roleEdge.orderBy ● [RolesOrderBy!] list enum

The method to use when ordering Role.

Returned By

createRole mutation