Shopify.GraphQL.put_variable
You're seeing just the function
put_variable
, go back to Shopify.GraphQL module for more information.
Link to this function
put_variable(operation_or_query, name, value)
Specs
put_variable(binary() | Shopify.GraphQL.Operation.t(), binary() | atom(), any()) :: Shopify.GraphQL.Operation.t()
Add a variable to the operation.
It's possible to pass either a Shopify.GraphQL.Operation
struct or, as a
convenience, a binary query.