Open
Description
Describe the bug
When using the Hasura data provider, meta.gqlVariables is used for getOne, getMany, and getList, but not for any other queries. This prevents, for example, useForm's mutationMeta.gqlVariables from applying.
Steps To Reproduce
- Add gqlVariables object with variables defined inside to the meta field of any hook which uses create, update, or delete, alongside a gql operation (meta.gqlQuery or meta.gqlMutation)
- Expectation: gqlVariables are passed to the gql operation, reality: they usually are not
Expected behavior
when using a meta gql operation such as gqlQuery or gqlMutation, meta.gqlVariables should always be passed to the operation.
Packages
- @refinedev/hasura
Additional Context
No response