v1.2.0-rc.1
Pre-release
Pre-release
·
249 commits
to master
since this release
Features
- Breaking Change:
AuthCheckertype is now "function or class" - update toAuthCheckerFnif the function form is needed in the code - support class-based auth checker, which allows for dependency injection
- allow defining directives for interface types and theirs fields, with inheritance for object types fields (#744)
- allow deprecating input fields and args (#794)
- support disabling inferring default values (#793)
- support readonly arrays for roles of
@Authorizeddecorator (#935) - add sync version of
buildTypeDefsAndResolversfunction (#803)
Fixes
- Breaking Change: properly emit types nullability when
defaultValueis provided and removeConflictingDefaultWithNullableErrorerror (#751) - allow defining extension on field resolver level for fields also defined as a property of the class (#776)
- fix throwing error when schema with dynamic default value was built again (#787)
- fix converting inputs with fields of nested array type (#801)
- disable broken exposing input types fields under a changed name via
@Field({ name: "..." })
Others
- Breaking Change: update
graphql-jspeer dependency to^15.5.0