Skip to main content

CreateHubPayload

The output of our create Hub mutation.

type CreateHubPayload {
clientMutationId: String
hub: Hub
query: Query
parentHub: Hub
hubEdge(
orderBy: [HubsOrderBy!] = [PRIMARY_KEY_ASC]
): HubsEdge
}

Fields

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

CreateHubPayload.hub ● Hub object

The Hub that was created by this mutation.

CreateHubPayload.query ● Query object

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

CreateHubPayload.parentHub ● Hub object

Reads a single Hub that is related to this Hub.

CreateHubPayload.hubEdge ● HubsEdge object

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

CreateHubPayload.hubEdge.orderBy ● [HubsOrderBy!] list enum

The method to use when ordering Hub.

Returned By

createHub mutation