Hey, has anybody used `graphql-shield` together wi...
# orm-help
a
Hey, has anybody used
graphql-shield
together with
apollo-errors
? Throwing custom apollo errors in the permission rules is not working for me
read more about
allowExternalErrors
here https://github.com/maticzav/graphql-shield#options
a
@nilan Thanks for the reply. I've checked the related github issues and also set
allowExternalErrors: true
. It looks like it's connected to
const customError = result.find(res => res instanceof Error);
in the resolve function in
rules.js
in graphql-shield
n
I suggest you open a new issue here https://github.com/maticzav/graphql-shield/issues
a
Alright