@pothos/core
Version:
Pothos (formerly GiraphQL) is a plugin based schema builder for creating code-first GraphQL schemas in typescript
13 lines (11 loc) • 332 B
text/typescript
import type { SchemaTypes } from '../types';
import { FieldBuilder } from './builder';
export class ObjectFieldBuilder<Types extends SchemaTypes, ParentShape> extends FieldBuilder<
Types,
ParentShape,
'Object'
> {
constructor(builder: PothosSchemaTypes.SchemaBuilder<Types>) {
super(builder, 'Object', 'Object');
}
}