data
data copied to clipboard
A lightweight reactive data library for web applications. Designed over composable primitives.
This PR aims to make **BOTH** the calculation of canonical state AND the calculation of current state happen on-demand (e.g. only when the UI-layer has "pulled" on the relationship to...
This is a PR for the request (https://github.com/emberjs/data/issues/7357) to remove the assertion that prevents different types from being returned in API responses. Tests pass but I think there might need...
Introduces a new package (`@ember-data/network`) and adds a private module for `RequestManager`. This will allow us to begin refactoring internal APIs to ensure they can provide full compatibility as middlewares...
π β’ worked with @yratanov to begin making this RFC a reality π₯³
### Reproduction Github repository with failing test: https://github.com/amk221/-ember-willdestroy-promiseproxy/blob/main/app/components/my-component.js#L9 ### Description When a component is destroyed, this error happens (in the _test suite only_). `Attempted to call store.adapterFor(), but the store...
## Description ## Type of PR What kind of change is this? - [x] refactor - [ ] internal bugfix - [ ] user-facing bugfix - [ ] new feature...
## Embroider Support While not originally in scope of π² Project Trim (as embroider was but a twinkling in our eye when it began), to consider Project Trim (#6166) complete...
# π² Project Trimπ² As the Ember Community approaches [delivery of long awaited features enabling tree-shaking](https://github.com/embroider-build/embroider), ember-data needs to take some steps to enable this feature to shed the weight...
Hey guys, I faced a problem and did a test + added a fix, the simplest way to replicate: ```js myModel = this.store.createRecord('my-model'); myModel.errors.add('fieldA', ['blank']); myModel.errors.add('fieldB', ['blank']); later(() => {...
Currently it always stays in the `uncommitted` state. Even if the new attributes match the values for the "changed" attributes.