smallrye-graphql
smallrye-graphql copied to clipboard
Show the `@RolesAllowed` as directives in the schema
If a user has access to a field (see #958 and #959), the schema also contains a corresponding directive indicating the roles that are allowed to see that field. E.g. a field annotated as @RolesAllowed("admin") has a directive @rolesAllowed("admin").