Skip to content
Snippets Groups Projects
Commit fc3cfcc9 authored by Yannis Barlas's avatar Yannis Barlas
Browse files

feat(graphql): export race from graphql shield

parent 4adf2a17
No related branches found
No related tags found
No related merge requests found
Pipeline #64781 failed
...@@ -7,6 +7,7 @@ const { ...@@ -7,6 +7,7 @@ const {
chain, chain,
or, or,
not, not,
race,
} = require('graphql-shield') } = require('graphql-shield')
const isAuthenticated = rule()(async (parent, args, ctx, info) => { const isAuthenticated = rule()(async (parent, args, ctx, info) => {
...@@ -30,6 +31,7 @@ module.exports = { ...@@ -30,6 +31,7 @@ module.exports = {
chain, chain,
or, or,
not, not,
race,
isAuthenticated, isAuthenticated,
isAdmin, isAdmin,
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment