AshGraphql generated mutations are bypassing schema middleware
I have this middleware in my GraphQL schema to check if the user is authenticated:
All my custom made queries/mutations will reach that middleware function without a problem.
Now, I have this in one of my resources:
If I call that mutation, it will not call my
If I create an equivalent for that mutation by hand, then the
All my custom made queries/mutations will reach that middleware function without a problem.
Now, I have this in one of my resources:
If I call that mutation, it will not call my
middleware function at all.If I create an equivalent for that mutation by hand, then the
middleware is called as expected.