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