@lazidog/graphql-codegen-typescript
v1.0.3
Published
GraphQL Code Generator TypeScript plugin with @customResolver directive support
Maintainers
Readme
Graphql codegen typescript plugin
This plugin modifies the TypeScript generation process to skip fields with the @customResolver directive. It overrides the FieldDefinition method of the TsVisitor class to check for this directive and return an empty string if it is present. This effectively prevents the generation of TypeScript types for those fields, allowing for more control over the generated types.
