You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Expected behavior
when using a meta gql operation such as gqlQuery or gqlMutation, meta.gqlVariables should always be passed to the operation.
Packages
Additional Context
No response
The text was updated successfully, but these errors were encountered: