GQLInterface

GQLInterface

Members

(static, constant) ⬇︎⠀GQL_TYPE

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

Source:
GQLInterface.js, line 73

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