Helpers: hasAllVariables
Exports
import { hasAllVariables } from '@apollo-elements/lib/has-all-variables';
hasAllVariables
Checks whether an operation includes all its non-nullable variables. Note that this can't check properties of Input types defined in schema, only top-level variables.
hasAllVariables :: Operation -> Bool
Parameters
operation
Partial<Operation>
The GraphQL operation to validate
Returns
boolean
Whether the operation has all it's required variables.