Releases: MichalLytek/type-graphql
Releases · MichalLytek/type-graphql
0.12.0
Features
- Breaking Change: remove deprecated
ActionDataandFilterActionDatainterfaces - add support for resolver classes inheritance
- add
namedecorator option for@Fieldand@FieldResolverdecorators that allows to set the schema name different than the property name
0.11.3
Features
- make auth checker feature generic typed (default
stringfor backward compatibility)
0.11.2
Features
- attach
MetadataStorageto global scope (support multiple packages/modules) - rename and deprecate
ActionDataandFilterActionDatainterfaces toResolverDataandResolverFilterData
0.11.1
Features
- add support for returning null instead of throwing authorization error (
authModeproperty ofbuildSchemaconfig) - add support for generating object type field in schema from method with
@FieldResolver
Fixes
- fix bug when converting object scalars to target class instance (#65)
0.11.0
Features
- add support for creating and attaching middlewares, guards and interceptors to fields and resolvers
- Breaking Change: remove deprecated decorators with
GraphQLprefix and{ array: true }type option
0.10.0
Features
- add
buildSchemaSyncfunction to build the schema synchronously (unsafe! without additional errors checks) - update package dependencies
- Breaking Change: update
@types/graphqlto0.13.0
Fixes
- decorator option
validateis now merged withbuildSchema'svalidateconfig instead of overwriting it
0.9.1
Fixes
- fix bug with extending non-TypeGraphQL classes
0.9.0
Features
- add support for GraphQL subscriptions using
graphql-subscriptions - update package dependencies
- deprecate
{ array: true }type option
0.8.1
Features
- add
@Info()decorator for injecting GraphQL resolve info to resolvers - add support for injecting parts of
rootandcontextobjects with@Root("field")and@Ctx("field")decorators
0.8.0
Features
- add base support for GraphQL enums using TypeScript enums
- add support for defining GraphQL unions
- add support for importing resolvers from file path glob
- depracate decorators with
GraphQLprefix - use@ArgsType,@InputType,@InterfaceType,@ObjectTypeand@Resolverinstead
Fixes
- fix not working array type notation in circular dependencies (correct thunk generation)