Is there a best practice for disabling field suggestions when using Absinthe? The goal is to prevent random requests from finding out more about how the queries and mutations are structured.
For example:
error: Error: Cannot query field "use" on type "RootQueryType". Did you mean "user"?: {"response":{"errors":[{"locations":[{"column":5,"line":3}],"message":"Cannot query field \"user\" on type \"RootQueryType\". Did you mean \"user\"?"}],"status":200,"headers":{}},"request":{"query":"\n {\n use {\n email\n name\n state\n }\n }\n"}}
I would like to have some generic error that does not provide more information.
I am guessing a plug or middleware will be needed but have not been able to catch the error yet.