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?
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?