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

feat: Store/Cache Support for RequestManager #8315

Closed
wants to merge 1 commit into from
Closed

Conversation

runspired
Copy link
Contributor

@runspired runspired commented Nov 24, 2022

Implements Store portion of RequestManager from emberjs/rfcs#860 as well as some associated bits of Cache v2.1 from emberjs/rfcs#854 to support it.

A probably incomplete list of the changes necessary:

  • record-data => cache
  • @ember-data/record-data => @ember-data/json-api
  • Store._notificationManager => Store.notifications
  • deprecate StoreWrapper.recordDataFor
  • deprecate Store.createRecordDataFor
  • deprecate Store.instantiateRecord extra args
  • Add Store.request
  • Add Store.requestManager
  • ember-data auto-configures RequestManager
  • add Cache.put
  • add Cache.peekDocument
  • add Cache.peek(<doc>)
  • add legacy-handler
  • add request-utils
  • refactor existing request methods to utilize request-manager

@runspired runspired marked this pull request as draft November 24, 2022 02:53
@runspired runspired added 🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature 5.0 Roadmap labels Nov 24, 2022
@runspired runspired changed the title WIP Feat/cache v2 feat: Store/Cache Support for RequestManager Nov 24, 2022
@runspired runspired force-pushed the feat/cache-v2 branch 4 times, most recently from 5f06c20 to 0474cb6 Compare December 9, 2022 07:06
@runspired runspired mentioned this pull request Dec 17, 2022
runspired added a commit that referenced this pull request Mar 13, 2023
runspired added a commit that referenced this pull request Mar 14, 2023
* chore: port types from #8315

* fix docs
@runspired runspired closed this Mar 14, 2023
@runspired runspired deleted the feat/cache-v2 branch March 14, 2023 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 Roadmap 🎯 canary PR is targeting canary (default) 🏷️ feat This PR introduces a new feature
Projects
Status: Discarded
Development

Successfully merging this pull request may close these issues.

1 participant