Schema
Learn how to define GraphQL schema with gqlkit.
Core
Object Types
Plain TypeScript type exports become GraphQL Object types.Input Types
TypeScript types with Input suffix are treated as GraphQL input types.Queries & Mutations
Define Query and Mutation fields using the @gqlkit-ts/runtime API.Field Resolvers
Add computed fields to object types using defineField.
Plain TypeScript type exports become GraphQL Object types.Input Types
TypeScript types with Input suffix are treated as GraphQL input types.Queries & Mutations
Define Query and Mutation fields using the @gqlkit-ts/runtime API.Field Resolvers
Add computed fields to object types using defineField.
More Types
Scalars
Define custom scalar types.Enums
String literal unions and TypeScript enums become GraphQL enums.Unions
Union of object types become GraphQL union types.Interfaces
Define GraphQL interface types.Abstract Type Resolution
Resolve union and interface types.
Define custom scalar types.Enums
String literal unions and TypeScript enums become GraphQL enums.Unions
Union of object types become GraphQL union types.Interfaces
Define GraphQL interface types.Abstract Type Resolution
Resolve union and interface types.
Features
Last updated on