Skip to content
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

[RFR] Convert DataProvider to Object #3726

Merged
merged 30 commits into from
Sep 30, 2019
Merged

[RFR] Convert DataProvider to Object #3726

merged 30 commits into from
Sep 30, 2019

Conversation

djhi
Copy link
Collaborator

@djhi djhi commented Sep 23, 2019

Related to #3686

  • Add TypeScript type for DataProvider methods
  • Make useDataProvider return a proxied dataProvider
  • Remove handling of event in useMutation callback
  • Add converter for legacy (function) style dataProviders to make the change BC
  • Update examples
  • Update documentation
    • DataProvider
    • Querying the API
    • Other chapters
  • Update core data providers
    • ra-data-fakerest
    • ra-data-simple-rest
    • ra-data-json-server
    • ra-data-graphql-simple (too much work, the object/function wrapper is enough)
    • ra-data-graphcool (too much work, the object/function wrapper is enough)

@djhi djhi added this to the 3.0.0 milestone Sep 23, 2019
docs/DataProviders.md Outdated Show resolved Hide resolved
docs/DataProviders.md Outdated Show resolved Hide resolved
@fzaninotto fzaninotto changed the title [WIP] Convert DataProvider to Object [RFR] Convert DataProvider to Object Sep 29, 2019
@fzaninotto
Copy link
Member

Switching to RFR

@djhi
Copy link
Collaborator Author

djhi commented Sep 30, 2019

Sorry, need a rebase

docs/CreateEdit.md Outdated Show resolved Hide resolved
examples/demo/src/orders/Basket.js Outdated Show resolved Hide resolved
packages/ra-core/src/controller/useListController.ts Outdated Show resolved Hide resolved
packages/ra-core/src/dataFetchActions.ts Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants