We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2143df6 commit 66ea526Copy full SHA for 66ea526
2 files changed
.changeset/serious-wolves-rush.md
@@ -0,0 +1,5 @@
1
+---
2
+"@refinedev/hasura": patch
3
4
+
5
+Hasura live provider now uses hasura-default as default naming convention
packages/hasura/src/liveProvider/index.ts
@@ -51,11 +51,11 @@ export const liveProvider = (
51
);
52
}
53
54
- const genereteSubscription = subscriptions[subscriptionType];
+ const generateSubscription = subscriptions[subscriptionType];
55
56
const idType = getIdType(resource, options?.idType);
57
- const namingConvention = options?.namingConvention;
58
- const { query, variables, operation } = genereteSubscription({
+ const namingConvention = options?.namingConvention ?? "hasura-default";
+ const { query, variables, operation } = generateSubscription({
59
ids,
60
id,
61
idType,
0 commit comments