- buildSchema<TSource, TContext>(__namedParameters?: { authDirective?: { authDirectiveTransformer: (schema: GraphQLSchema) => GraphQLSchema; authDirectiveTypeDefs: string }; directives?: [undefined | TypeSource, (schema: GraphQLSchema) => GraphQLSchema][]; resolvers?: null | IResolvers<TSource, TContext> | Maybe<IResolvers<TSource, TContext>>[]; typeDefs?: TypeSource }): undefined | (input: { resolvers: Record<string, any>[]; typeDefs: DocumentNode[] }) => GraphQLSchema
Type parameters
Parameters
__namedParameters: { authDirective?: { authDirectiveTransformer: (schema: GraphQLSchema) => GraphQLSchema; authDirectiveTypeDefs: string }; directives?: [undefined | TypeSource, (schema: GraphQLSchema) => GraphQLSchema][]; resolvers?: null | IResolvers<TSource, TContext> | Maybe<IResolvers<TSource, TContext>>[]; typeDefs?: TypeSource } = {}
Returns undefined | (input: { resolvers: Record<string, any>[]; typeDefs: DocumentNode[] }) => GraphQLSchema