Join Slack
Powered by
Any idea why context.headers would be undefined in...
# orm-help
c
Chris Felix
04/16/2018, 7:02 AM
Any idea why context.headers would be undefined in a custom directive? I’m using
https://www.apollographql.com/docs/graphql-tools/schema-directives.html#Enforcing-access-permissions
as an example
g
gsancho
04/16/2018, 7:03 AM
I think it should be context.request.headers
c
Chris Felix
04/16/2018, 12:11 PM
Entire context object is empty
g
gsancho
04/17/2018, 5:19 AM
show your code pls
3
Views
Open in Slack
Previous
Next