type-graphql
Advanced tools
Changelog
v0.10.0
buildSchemaSync
function to build the schema synchronously (unsafe! without additional errors checks)@types/graphql
to 0.13.0
validate
is now merged with buildSchema
's validate
config instead of overwriting itChangelog
v0.9.1
Changelog
v0.9.0
graphql-subscriptions
{ array: true }
type optionChangelog
v0.8.1
@Info()
decorator for injecting GraphQL resolve info to resolversroot
and context
objects with @Root("field")
and @Ctx("field")
decoratorsChangelog
v0.8.0
GraphQL
prefix - use @ArgsType
, @InputType
, @InterfaceType
, @ObjectType
and @Resolver
insteadChangelog
v0.7.0
@Authorized
decorator and authChecker
function in schema options (see docs)[Type]
@GraphQLArgumentType
decorator - use @GraphQLArgsType
insteadChangelog
v0.6.0
buildSchema
async - now it returns a Promise of GraphQLSchema
@GraphQLArgumentType
decorator - use @GraphQLArgsType
instead@GraphQLResolver
decorator to keep consistency with other resolver classesChangelog
v0.5.0
Date
scalar names to GraphQLISODateTime
and GraphQLTimestamp
Date
objects (instances) serialization in GraphQLTimestamp
(and in GraphQLISODateTime
too)nullable
option behavior from [Type]!
to [Type!]
ResolverInterface
resolver function type (allow additional parameters)@GraphQLResolver
lambda and for object class as paramChangelog
v0.4.0
class-validator
ResolverInterface
for type checking of resolver class methods (field resolvers)graphql
dependency from ^0.12.3
to ^0.13.0
new
instead of Object.create
Changelog
v0.3.0