pub fn variable_defaults( definitions: &[VariableDefinition], ) -> Result<Vec<(String, Value)>>
The declared defaults of an operation’s variables, decoded: (name, value) for each variable definition that declares one (GraphQL § 6.4.1).
(name, value)
Returns FraiseQLError::Internal if a stored default is not valid JSON (see decode).
FraiseQLError::Internal
decode