Releases: MichalLytek/type-graphql
Releases · MichalLytek/type-graphql
0.16.0
0.15.0
Features
- Breaking Change: upgrade
graphql
to^14.0.2
,graphql-subscriptions
to^1.0.0
and@types/graphql
to^14.0.2
- update all other dependencies
- drop support for Node.js v9
- add capability to emit the schema definition file (*.gql) as a
buildSchema
option - add
emitSchemaDefinitionFile
helper function for emitting the schema SDL
0.14.0
Features
- Breaking Change: change
ClassType
type and export it in package index - Breaking Change: refactor generic
createUnionType
to 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/graphql
to latest version (^0.13.3
)
Fixes
- fix throwing error when
of => objectType
wasn't provided in abstract resolver class - fix calling
Object.assign
with boolean arguments (#111)
0.12.2
0.12.1
0.12.0
Features
- Breaking Change: remove deprecated
ActionData
andFilterActionData
interfaces - add support for resolver classes inheritance
- add
name
decorator option for@Field
and@FieldResolver
decorators that allows to set the schema name different than the property name
0.11.3
Features
- make auth checker feature generic typed (default
string
for backward compatibility)