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 useUnique to check if there is already a record with that field name, react-admin sends getList query with exact match.
ra-data-hasura transforms string filters on LIST to always be { _ilike: %value% }, so there is no way to check if there is unique record since it should be {_eq: value}.
Tried to fix this but couldn't use local version of ra-data-hasura probably because there is no lib folder in build, only dist.
How should ra-data-hasura package be used for local testing and development/contributing?
The text was updated successfully, but these errors were encountered:
When using
useUnique
to check if there is already a record with that field name, react-admin sendsgetList
query with exact match.ra-data-hasura transforms string filters on LIST to always be
{ _ilike: %value% }
, so there is no way to check if there is unique record since it should be{_eq: value}
.Tried to fix this but couldn't use local version of ra-data-hasura probably because there is no
lib
folder in build, onlydist
.How should ra-data-hasura package be used for local testing and development/contributing?
The text was updated successfully, but these errors were encountered: