UNPKG

@pothos/core

Version:

Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript

13 lines (11 loc) 334 B
import type { SchemaTypes } from '../types'; import { RootFieldBuilder } from './root'; export class QueryFieldBuilder<Types extends SchemaTypes, ParentShape> extends RootFieldBuilder< Types, ParentShape, 'Query' > { constructor(builder: PothosSchemaTypes.SchemaBuilder<Types>) { super(builder, 'Query', 'Object'); } }