express-unless
express-unless copied to clipboard
Support GraphQL queries
Is it somehow possible to be able to define GraphQL queries? One might want to whitelist a mutation that resolves into an account signup/signin.
I've tried with Regex but the problem I see there is that the path only applies to either req.originalUrl or req.url which in this case are both / for an url like /?query=query{ping} (url encoded obviously)