{"library":"type-graphql-utils","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"2.1.0","tags":["javascript","type-graphql","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install type-graphql-utils","imports":["import { Pick } from 'type-graphql-utils'","import { Partial } from 'type-graphql-utils'","import { Omit } from 'type-graphql-utils'","import { Required } from 'type-graphql-utils'"]},{"cmd":"yarn add type-graphql-utils","imports":[]},{"cmd":"pnpm add type-graphql-utils","imports":[]}],"homepage":"https://github.com/ChrisLahaye/type-graphql-utils","github":"https://github.com/ChrisLahaye/type-graphql-utils","docs":null,"changelog":null,"pypi":null,"npm":"type-graphql-utils","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}