auth/users table : couldn't fetch - Nhost #1886
shyamilitc
started this conversation in
General
Replies: 2 comments 1 reply
-
Hey @shyamilitc , https://refine.dev/docs/faq/#how-can-i-request-an-api-with-nested-route I hope this helped you 🚀 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your response.I have tried tha, The issue is with userAggragate function. Refine is taking for any resource ,resource_aggregate but for user its userAggregate. So I will get user_aggregate not found in query_root error.10.06.2022, 17:56, "Ömer Faruk APLAK" ***@***.***>:
Hey @shyamilitc ,
Thank you for contacting us. You can use resource property of data, form hooks.
https://refine.dev/docs/faq/#how-can-i-request-an-api-with-nested-route
I hope this helped you 🚀
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am using nhost as my data provider. When I am fetching auth/users table, Its throwing user_aggregate not found in query root error.
I know its because for users table its userAggregate.
export interface IUser {
id: string;
displayName: string;
createdAt: string;
createdBy: string;
updatedAt: string;
updatedBy: string;
}
this is my interface.
My question is how can i fetch details from users table using refine?
Beta Was this translation helpful? Give feedback.
All reactions