artindaniel
10/17/2018, 11:07 AMgraphql-shield
together with apollo-errors
?
Throwing custom apollo errors in the permission rules is not working for menilan
10/17/2018, 11:26 AMnilan
10/17/2018, 11:26 AMallowExternalErrors
here https://github.com/maticzav/graphql-shield#optionsartindaniel
10/17/2018, 11:30 AMallowExternalErrors: 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-shieldnilan
10/17/2018, 11:30 AMartindaniel
10/17/2018, 11:31 AM