GQLInterface

GQLInterface

Source:
GQLEnum.js, line 56

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.

Parameters:
Name Type Description
model mixed

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

Returns:
( string )

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

Source:
GQLInterface.js, line 56

GQLInterface

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.

Parameters:
Name Type Description
model mixed

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

Returns:
( string )

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

Source:
GQLInterface.js, line 56