AshGraphql.Api (ash_graphql v0.17.4) View Source
The entrypoint for adding graphql behavior to an Ash API
Table of Contents
graphql
Global configuration for graphql
Examples:
graphql do
authorize? false # To skip authorization for this API
end
:authorize?- Whether or not to perform authorization for this API The default value istrue.:root_level_errors?- By default, mutation errors are shown in their result object's errors key, but this setting places those errors in the top level errors list The default value isfalse.:show_raised_errors?- For security purposes, if an error is raised then Ash simply shows a generic error. If you want to show those errors, set this to true. The default value isfalse.:stacktraces?- Whether or not to include stacktraces in generated errors The default value istrue.:debug?- Whether or not to log (extremely verbose) debug information The default value isfalse.