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