GraphQLResponse interface

GraphQL response payload.

Properties

data

The response data, present when the operation succeeded.

errors

GraphQL errors returned by the server, if any.

Property Details

data

The response data, present when the operation succeeded.

data?: T

Property Value

T

errors

GraphQL errors returned by the server, if any.

errors?: { extensions?: Record<string, any>, locations?: { column: number, line: number }[], message: string, path?: (string | number)[] }[]

Property Value

{ extensions?: Record<string, any>, locations?: { column: number, line: number }[], message: string, path?: (string | number)[] }[]