Releases: MichalLytek/type-graphql
Releases · MichalLytek/type-graphql
0.17.1
Features
- add support for emitting schema file in not existing directory (#269)
- drop support for Node.js v6 (end of LTS in April 2019)
Fixes
0.17.0
Features
- Breaking Change: make
graphql-jspackages a peer dependencies, bumpgraphqlto^14.1.1and@types/graphqlto^14.0.7(#239) - Breaking Change: remove
useContainerfunction and allow to register container bybuildSchemaoptions (#241) - Breaking Change: change the default
PrintSchemaOptionsoptioncommentDescriptionsto false (no more#comments in SDL) - add support for passing
PrintSchemaOptionsinbuildSchema.emitSchemaFile(e.g.commentDescriptions: trueto restore previous behavior) - add
buildTypeDefsAndResolversutils function for generating apollo-liketypeDefsandresolverspair (#233) - add support for generic types (#255)
Fixes
- Breaking Change: remove the
formatArgumentValidationErrorhelper as it's not compatible and not needed in new Apollo Server (#258) - fix calling return type getter function
@Field(type => Foo)before finishing module evaluation (allow for extending circular classes usingrequire) - fix nullifying other custom method decorators - call the method on target instance, not the stored reference to original function (#247)
- fix throwing error when extending non args class in the
@ArgsType()class - prevent unnecessary conversion of an object that is already an instance of the requested type (avoid constructor side-effects)
0.16.0
0.15.0
Features
- Breaking Change: upgrade
graphqlto^14.0.2,graphql-subscriptionsto^1.0.0and@types/graphqlto^14.0.2 - update all other dependencies
- drop support for Node.js v9
- add capability to emit the schema definition file (*.gql) as a
buildSchemaoption - add
emitSchemaDefinitionFilehelper function for emitting the schema SDL
0.14.0
Features
- Breaking Change: change
ClassTypetype and export it in package index - Breaking Change: refactor generic
createUnionTypeto remove the 10 types limit (note: requires TypeScript >=3.0.1) - add support for subscribing to dynamic topics - based on args/ctx/root (#137)
- add support for query complexity analysis - integration with
graphql-query-complexity(#139)
0.13.1
Fixes
- fix missing loosely typed overload signature for
createUnionType(remove the 10 types limit)
0.13.0
0.12.3
Features
- add reflect-metadata checks and informative error if no polyfill provided
- update
@types/graphqlto latest version (^0.13.3)
Fixes
- fix throwing error when
of => objectTypewasn't provided in abstract resolver class - fix calling
Object.assignwith boolean arguments (#111)