-
Notifications
You must be signed in to change notification settings - Fork 2.8k
ra-data-hasura: add support for multiple schemas (close #1729) #2068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Deploy preview for hasura-docs ready! Built with commit 0b29f3c |
shahidhk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the changes to package-lock required @praveenweb ?
|
@praveenweb, @shahidhk I test latest version of react-admin data provider This is my error message in browser console: Any idea? |
|
@mnlbox - Does the table difficulty in the online_exam schema have the column id? The error seems to say that id does not exist. Also it would be better if you can share the actual query that is made (check network tab?) |
|
@praveenweb I check network tab, It seems it's return 2 query. One with |
|
@mnlbox - May be you are calling twice with both difficulty and online_exam.difficulty? |
|
It's workin OK, Can you merge this? I want add some new PR based on this 😉 |
|
Review app https://hge-ci-pull-2068.herokuapp.com is deleted |
Description
To query schemas other than
public, you can pass schema to resource in the format<Resource name="schema.table" />.For example to fetch data from schema
testand tableauthor, use the following snippet:Install the latest version
Affected components
Related Issues
#1729
Solution and Design
Support multiple schemas using the "." separator.
Steps to test and verify
Limitations, known bugs & workarounds