-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
comprehensive param support for ra-data-graphql-simple adapter GET_MANY_REFERENCE requests #3759
Conversation
The reason for this pull request is quite simple. I have a react-admin app running against a graphql api and decided to use the ra-data-graphql-simple adapter. Everything has worked perfectly except for the ReferenceManyField component. Currently, the ra-data-graphql-simple adapter does not support filtering, pagination and sorting params. i.e. code such as |
Also, due to the fact that I inserted an |
@maxschridde1494, great news)
, and go to the page !== 1 , then click on row and return back to Datagrid. The page is reset to 1 :( |
As this is a new feature, please PR against the |
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.
Awesome :) Thanks!
@fzaninotto updated to PR against @wmwart re pagination, my changes do not fix that issue. I believe that is a different bug that has to do with the |
You'll have to keep only your commit on that branch. git checkout next && git pull origin next
git checkout patch-1
git rebase -i next ## In the prompt, only keep your commit and save
git push -f |
support comprehensive pagination, sort and filter params for GET_MANY_REFERENCE requests. currently there is a gap using the ra-data-graphql-simple adapter when trying to use filter / sort / pagination props on the ReferenceManyField component.
2fd7f7b
to
44b4002
Compare
@Kmaschta done. |
This is unfortunate since it won't get into 2.x or am I wrong about that? Related bug report: #3397 |
Any update on when this might get merged? |
3.0 is feature freeze - we're focusing on fixing bugs. I added that PR to the 3.1 release, scheduled in November. By the way, this PR needs a rebase. |
Sounds good. Re:
Will this be done on your end or is it something that I need to complete. I already completed the rebase @Kmaschta directed:
|
It is something you'll have to do, maybe using the "resolve conflicts" button lower in the page. |
When is the scheduled release for v3.1? |
Support comprehensive pagination, sort and filter params for GET_MANY_REFERENCE requests. currently there is a gap using the ra-data-graphql-simple adapter when trying to use filter / sort / pagination props on the ReferenceManyField component.