Skip to content

2.0.0-rc.2

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 07 Jun 12:27
· 25 commits to master since this release

Features

  • support declaring middlewares on resolver class level (#620)
  • support declaring auth roles on resolver class level (#620)
  • make possible creating custom decorators on resolver class level - createResolverClassMiddlewareDecorator
  • support registering custom arg decorator via createParameterDecorator and its second argument CustomParameterOptions - arg (#1325)

Fixes

  • properly build multiple schemas with generic resolvers, args and field resolvers (#1321)

Others

  • Breaking Change: update graphql-scalars peer dependency to ^1.23.0
  • Breaking Change: rename createMethodDecorator into createMethodMiddlewareDecorator
  • Breaking Change: rename createParamDecorator to createParameterDecorator