Module: Olyx::Guardrails::Rails::GraphQL
- Includes:
- Ingress
- Defined in:
- lib/olyx/guardrails/rails/graphql.rb
Overview
Adds private, exception-driven helpers to GraphQL resolvers and mutations.
guardrails_check_graphql! evaluates input.
guardrails_check_graphql_output! evaluates completed output. Both
accept metadata: and add the resolver class name under
:graphql_resolver.