Minor Changes
-
#4174
d040da9a428
Thanks @alicanerdurmaz! - feat: added refine.config.js to support swizzling. Now with swizzle support, you can easily customize hasura data provider for your needs.feat: tests added for utility functions.
chore: utility functions have been moved to their own files.
chore:
genereteUseListSubscription
is deprecated and has been renamed togenerateListSubscriptionHook
.
chore:genereteUseManySubscription
is deprecated and has been renamed togenerateUseManySubscription
.
chore:genereteUseOneSubscription
is deprecated and has been renamed togenerateUseOneSubscription
.
Patch Changes
-
#4179
fd808368a36
Thanks @austin047! - fix: change enum from lowercase to UPPERCASE in api request for hasura camelCase naming conventionFrom the hasura documentation here, for the graphql-default naming convention, the naming convention for enums is upper-cased. Currently the request are being made with the lowercase enum and not uppercase.
The change mainly
affectssort
, desc gets changed to DESC and asc gets changed to ASC. the request from the refine client interface maintains the underscore and convertion to uppercase is only done at the API request layer.