Closed mkekit closed 6 months ago
Hello, I found a solution for the problem/behavior. After adding 'graphql-middlewares' additionally as 'After' in my graphql.yml config, everything works now. Perhaps this should also be added to the documentation?
Here's the updated configuration:
---
Name: app-graphql
Only:
classexists: 'SilverStripe\GraphQL\Schema\Schema'
After:
- graphqlconfig
- 'graphql-middlewares'
---
...
Module version(s) affected
5.1.3
Description
Unfortunately i'm not able to disable the CSRF protection as mentioned in the documentation. Here's the contents of my config under
app/_config/graphql.yml
:Which leads to the following error:
What i've missed here?
Thanks in advance!
How to reproduce
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)