Closed nihauc12 closed 1 year ago
proposition of fix for https://github.com/hasura/ra-data-hasura/issues/156
I've also simplified a bit the sanitizeResource function and added some tests.
Note that this change should be considered major in versionning since it breaks backward compatibility.
before:
sanitizeResource([0, 1, 2]) == { 0: 0, 1: 1, 2: 2}
after:
sanitizeResource([0, 1, 2]) == [0, 1 ,2]
looks good!
@praveenweb 👋 any news on this :) ?
proposition of fix for https://github.com/hasura/ra-data-hasura/issues/156
I've also simplified a bit the sanitizeResource function and added some tests.
Note that this change should be considered major in versionning since it breaks backward compatibility.
before:
after: