type-graphql-utils
JSON →Utilities to transform type-graphql types. Current stable version is 2.1.0. This library provides utility functions similar to TypeScript's Pick, Omit, Partial, and Required, but for GraphQL object and input types defined with type-graphql decorators. It operates at runtime to create new classes with modified fields, preserving decorators and type metadata. Pitfalls: requires peer dependencies graphql ^15 and type-graphql ^1; does not support graphql v16 or type-graphql v2; the 'names' parameter must be an object with value 1 (e.g. { field: 1 }) not an array; the 'directives' option is false by default and may cause issues if omitted.
Resources
packagetype-graphql-utils ↗
API endpoints
full doc /v1/registry/type-graphql-utils