-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
feat(graphql): rewrite GraphQL data provider #6357
feat(graphql): rewrite GraphQL data provider #6357
Conversation
🦋 Changeset detectedLatest commit: 1fc9b01 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
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.
Left couple of comments for types, typos and conventions. Thank you 🙏
b0d9a1d
to
956abe0
Compare
addressed review comments removed newOptions temp file, fixed typings for options
refine Run #11547
Run Properties:
|
Project |
refine
|
Branch Review |
RK-780-refine-improve-graphql-data
|
Run status |
Passed #11547
|
Run duration | 11m 24s |
Commit |
7c25e45f95 ℹ️: Merge 2195d445c8a4c3f8a34c42a98054975d85e58e06 into 58051002e8fd68acccb5fd034607...
|
Committer | Batuhan Wilhelm |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
13
|
View all changes introduced in this branch ↗︎ |
…file and some cleanups
rename "countMapper" to "getTotalCount" for clarity get rid of separate buildPagination, buildSorters, buildFilters in getList options and use single buildVariables remove wrapping response with array in data provider updateMany and deleteMany methods and move to respective options config deep merge user provided options with base options add options typescript type
…{Paging,Filter,Sorting} methods since they are under buildVariables now
PR Checklist
Please check if your PR fulfills the following requirements:
Bugs / Features
What is the current behavior?
What is the new behavior?
fixes #5942 #5943
Notes for reviewers