type-graphql
Advanced tools
Changelog
v1.1.0
validate
option to buildSchema
GraphQLISODateTime
and GraphQLTimestamp
scalars@FieldResolver
when that resolvers classes aren't provided in resolvers
arrayCannotDetermineGraphQLTypeError
error messageChangelog
v1.0.0
graphql-js
peer dependency to ^15.3.0
graphql-query-complexity
dependency to ^0.7.0
and drop support for fieldConfigEstimator
(use fieldExtensionsEstimator
instead)sortedSchema
option in PrintSchemaOptions
and emit sorted schema file by defaultclass-validator
a peer dependency of version >=0.12.0
that needs to be installed manually (#366)CannotDetermineTypeError
and make other error messages more detailed and specific[Item]
) is requiredTypeResolver
interface to match with GraphQLTypeResolver
from graphql-js
@Directive()
decorator (#369)@Extensions
decorator for putting metadata into GraphQL types config (#521){ autoRegisterImplementations: false }
option to prevent automatic emitting in schema all the object types that implements used interface type (#595)createResolversMap
utility that generates apollo-like resolvers object.get()
method returns a Promise
of resolver instancetslib
, graphql-query-complexity
)GraphQLTimestamp
and GraphQLISODateTime
scalars when returned value is not a Date
instance - now it throws explicit error insteadname
option on interface fields (#567)authChecker
during subscribe phase for subscriptions (#578)buildSchema
resolveType
is used@InputType
or @ObjectType
classes (#626)DepreciationOptions
interface