new GraphQLSchemaLoom(
__namedParameters
,context
?):GraphQLSchemaLoom
• __namedParameters: SchemaWeaverParameters
= {}
• context?: WeaverContext
packages/core/src/schema/schema-loom.ts:61
context:
WeaverContext
packages/core/src/schema/schema-loom.ts:45
optional
mutation:LoomObjectType
packages/core/src/schema/schema-loom.ts:41
optional
query:LoomObjectType
packages/core/src/schema/schema-loom.ts:40
optional
resolverOptions:ResolvingOptions
packages/core/src/schema/schema-loom.ts:47
optional
subscription:LoomObjectType
packages/core/src/schema/schema-loom.ts:42
types:
Set
<GraphQLNamedType
>
packages/core/src/schema/schema-loom.ts:43
get
protected
fieldOptions():object
object
resolverOptions:
undefined
|ResolvingOptions
weaverContext:
WeaverContext
=context
packages/core/src/schema/schema-loom.ts:201
add(
resolver
):GraphQLSchemaLoom
• resolver: SilkResolver
packages/core/src/schema/schema-loom.ts:79
protected
addResolver(resolver
):GraphQLSchemaLoom
• resolver: SilkResolver
packages/core/src/schema/schema-loom.ts:132
addType(
silk
):GraphQLSchemaLoom
• silk: GraphQLSilk
<any
, any
>
packages/core/src/schema/schema-loom.ts:89
addVendor(
weaver
):GraphQLSchemaLoom
• weaver: SchemaWeaver
packages/core/src/schema/schema-loom.ts:84
protected
getOperationObject(type
):LoomObjectType
• type: "query"
| "mutation"
| "subscription"
packages/core/src/schema/schema-loom.ts:173
setConfig<
TConfig
>(config
):GraphQLSchemaLoom
• TConfig extends WeaverConfig
• config: TConfig
packages/core/src/schema/schema-loom.ts:112
use(...
middlewares
):GraphQLSchemaLoom
• ...middlewares: Middleware
[]
packages/core/src/schema/schema-loom.ts:72
weaveGraphQLSchema():
GraphQLSchema
GraphQLSchema
packages/core/src/schema/schema-loom.ts:117
static
config(config
):CoreSchemaWeaverConfig
Create a Schema Weaver config object
• config: CoreSchemaWeaverConfigOptions
Schema Weaver config options
a Schema Weaver config object
packages/core/src/schema/schema-loom.ts:54
static
optionsFrom(...inputs
):object
• ...inputs: (GraphQLSilk
<any
, any
> | SilkResolver
| WeaverConfig
| SchemaWeaver
| Middleware
)[]
object
configs:
Set
<WeaverConfig
>
context:
undefined
|WeaverContext
middlewares:
Set
<Middleware
>
resolvers:
Set
<SilkResolver
>
silks:
Set
<GraphQLSilk
<any
,any
>>
weavers:
Set
<SchemaWeaver
>
packages/core/src/schema/schema-loom.ts:206
static
weave(...inputs
):GraphQLSchema
Weave a GraphQL Schema from resolvers
• ...inputs: (GraphQLSilk
<any
, any
> | SilkResolver
| WeaverConfig
| SchemaWeaver
| Middleware
)[]
Resolvers, Global Middlewares, WeaverConfigs Or SchemaWeaver
GraphQLSchema
GraphQL Schema
packages/core/src/schema/schema-loom.ts:252