On this page

createNamedStub

The createNamedStub function exported by @graphql-tools/utils.

Call Signature

createNamedStub(name, type): GraphQLObjectType

Defined in: packages/utils/src/stub.ts:20

Parameters

name

string

type

"object"

Returns

GraphQLObjectType

Call Signature

createNamedStub(name, type): GraphQLInterfaceType

Defined in: packages/utils/src/stub.ts:21

Parameters

name

string

type

"interface"

Returns

GraphQLInterfaceType

Call Signature

createNamedStub(name, type): GraphQLInputObjectType

Defined in: packages/utils/src/stub.ts:22

Parameters

name

string

type

"input"

Returns

GraphQLInputObjectType