GQLInterface

GQLInterface

Members

(static, constant) ⬇︎⠀GQL_TYPE

Denotes that this GQLBase descendent is describing a graphql
interface type.

Source:

Methods

(static) ⌾⠀resolveType(model) → {string}

This needs to be able to, depending on your implementors, identify
which on the data actually is given the model to work with.

Source:
Parameters:
Name Type Description
model mixed

the data you can use to instantiate the type of
object in question.

Returns:
Type:
string

a string matching the name of a defined GraphQL type
found elsewhere in your schema

GQLInterface

Source:

Members

(static, constant) ⬇︎⠀GQL_TYPE

Denotes that this GQLBase descendent is describing a graphql
interface type.

Source:

Methods

(static) ⌾⠀resolveType(model) → {string}

This needs to be able to, depending on your implementors, identify
which on the data actually is given the model to work with.

Source:
Parameters:
Name Type Description
model mixed

the data you can use to instantiate the type of
object in question.

Returns:
Type:
string

a string matching the name of a defined GraphQL type
found elsewhere in your schema