class GraphQL::Execution::VariableValues

Validates and coerces a query’s provided variables in a single pass.

Reading methods (#[], #fetch, #to_h, …) return the values as provided by the client (or the default value from the query string), so that existing callers keep working. Coerced values are available from #coerced_value for the runtime.