Behaviour changes
- A
@Can()that applies to a federation@ResolveReference()method, including one on the resolver class, now fails at startup unless GraphQL runs guards on reference resolvers, which takesfieldResolverEnhancers: ['guards']in theGraphQLModuleoptions. Add the enhancer, or put@Can.Anyone()on the reference resolver where anyone may resolve the entity. - Reference resolvers that read the user also need
@nestjs/authentication0.1.6.
Bug fixes
- fix: call getUser on the module options so a method can use this by @johnnyhuirilef in #55
- fix: check federation reference resolvers and read their user (46e04a1)
- fix: say when the guard denies a hybrid app's message handlers (2921cbc)
Full Changelog: 0.1.3...0.1.4