-
Hey, we are using Hasura but we don't use the name "id" as the primary key. It looks like the provided has "id" hard coded in a few places. Can we use the out-of-the-box Hasura data provider if we have non-standard primary keys please? Any tips / advice? Thank you! |
Beta Was this translation helpful? Give feedback.
Answered by
BatuhanW
Jun 12, 2023
Replies: 1 comment 1 reply
-
Hello @mKoder, you can swizzle the data provider and modify t as you need. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
BatuhanW
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @mKoder, you can swizzle the data provider and modify t as you need.
https://refine.dev/docs/tutorial/understanding-dataprovider/swizzle/#how-do-you-use-swizzle-to-create-an-data-provider