{"library":"type-graphql","type":"library","category":null,"description":"TypeGraphQL is a framework for building GraphQL APIs with TypeScript using classes and decorators. Current stable version is v2.0.0-rc.3, actively maintained with regular releases. It leverages TypeScript's decorators and type metadata to define GraphQL types, inputs, and resolvers, reducing boilerplate. Key differentiators include first-class integration with class-validator for input validation and graphql-scalars for custom scalar support. It supports both code-first and schema-first approaches, though decorator-based code-first is preferred. Requires GraphQL v16+, class-validator >=0.14.3, and graphql-scalars >=1.25.0. Beta releases occur every few months.","language":"javascript","status":"active","version":"2.0.0-rc.3","tags":["javascript","typescript","graphql","schema","resolvers","api","decorators","controllers","apollo"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install type-graphql","imports":["import { ObjectType } from 'type-graphql'","import { Resolver } from 'type-graphql'","import { buildSchema } from 'type-graphql'"]},{"cmd":"yarn add type-graphql","imports":[]},{"cmd":"pnpm add type-graphql","imports":[]}],"homepage":"https://typegraphql.com","github":"https://github.com/MichalLytek/type-graphql","docs":null,"changelog":null,"pypi":null,"npm":"type-graphql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}