Interface: IAddResolversToSchemaOptions
Defined in: packages/utils/src/Interfaces.ts:158
Configuration object for adding resolvers to a schema
Properties
defaultFieldResolver?
optionaldefaultFieldResolver?:IFieldResolver<any,any,Record<string,any>,any>
Defined in: packages/utils/src/Interfaces.ts:170
Override the default field resolver provided by graphql-js
inheritResolversFromInterfaces?
optionalinheritResolversFromInterfaces?:boolean
Defined in: packages/utils/src/Interfaces.ts:179
GraphQL object types that implement interfaces will inherit any missing
resolvers from their interface types defined in the resolvers object
resolvers
resolvers:
IResolvers
Defined in: packages/utils/src/Interfaces.ts:166
Object describing the field resolvers to add to the provided schema
resolverValidationOptions?
optionalresolverValidationOptions?:IResolverValidationOptions
Defined in: packages/utils/src/Interfaces.ts:174
Additional options for validating the provided resolvers
schema
schema:
GraphQLSchema
Defined in: packages/utils/src/Interfaces.ts:162
The schema to which to add resolvers
updateResolversInPlace?
optionalupdateResolversInPlace?:boolean
Defined in: packages/utils/src/Interfaces.ts:183
Set to true to modify the existing schema instead of creating a new one