type-graphql
Advanced tools
Changelog
v0.17.5
DepreciationOptions
interface to DeprecationOptions
and deprecate the old onetslib
, semver
, graphql-query-complexity
and glob
)@Field(type => [[Int]])
) (#393)() => TClassTypes
)Changelog
v0.17.4
subscribe
function in @Subscription
decorator (#328)Changelog
v0.17.3
semver
to ^6.0.0
and graphql-subscriptions
to ^1.1.0
@types/graphql
due to using removed private types (e.g. MaybePromise
) (#320)Changelog
v0.17.2
resolveType
function for interfaces and unions (#319)skipCheck
option in buildSchema
to disable checking the correctness of a schemaChangelog
v0.17.1
ObjectType
s that implements InterfaceType
s or extends other classes (#160)Changelog
v0.17.0
graphql-js
packages a peer dependencies, bump graphql
to ^14.1.1
and @types/graphql
to ^14.0.7
(#239)useContainer
function and allow to register container by buildSchema
options (#241)PrintSchemaOptions
option commentDescriptions
to false (no more #
comments in SDL)PrintSchemaOptions
in buildSchema.emitSchemaFile
(e.g. commentDescriptions: true
to restore previous behavior)buildTypeDefsAndResolvers
utils function for generating apollo-like typeDefs
and resolvers
pair (#233)formatArgumentValidationError
helper as it's not compatible and not needed in new Apollo Server (#258)@Field(type => Foo)
before finishing module evaluation (allow for extending circular classes using require
)@ArgsType()
class