graphql-php icon indicating copy to clipboard operation
graphql-php copied to clipboard

Document how to use custom directives

Open Jalle19 opened this issue 7 years ago • 2 comments

What did you do?

Tried to add a @requiresAuthentication directive

What did you expect to happen?

Some way to actually define what this directive does

What actually happened?

Query still works, nothing really happens

Jalle19 avatar Sep 22 '18 12:09 Jalle19

This requires us to implement schema directives.

crisu83 avatar Oct 24 '18 07:10 crisu83

Yes, I realized that after making the issue.

Jalle19 avatar Oct 24 '18 10:10 Jalle19