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)
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
pathonly applies to eitherreq.originalUrlorreq.urlwhich in this case are both/for an url like/?query=query{ping}(url encoded obviously)