data
data copied to clipboard
A lightweight reactive data library for web applications. Designed over composable primitives.
Certain methods on the `RESTAdapter` are namespaced improperly in the documentation: https://api.emberjs.com/ember-data/3.12/classes/RESTAdapter/methods/urlForFindMany?anchor=urlForFindRecord
`createModelDataFor` was the old name before it was changed to `createRecordDataFor`
We currently update the Ember version to Ember 4 and we also update the ember-data version to 4.4.0 but there is something change that has an impact on my app...
If you hit https://github.com/emberjs/data/blob/1428e26cb49181bf38cc62b98eaa40d255ef7d11/packages/store/addon/-private/system/core-store.ts#L2603, the record will end up in a half broken state, rather than putting it in a correct error state, the way it would if the request...
There is a wrong example in api docs https://api.emberjs.com/ember-data/4.4/classes/Model/properties/relatedTypes?anchor=relatedTypes Doc shows in the example that this method returns the related model classes, while in reality it returns their small-case names....
As a part of https://github.com/emberjs/data/pull/4279 the method `shouldSerializeHasMany` on JSON API Serializer was made public. However, the documented signature doesn't correctly reflect the third `relation` parameter and its type. Here's...
Right now we are serializing the data into the url with an implementation mirroring ajax. See [`serializeQueryParams`](https://github.com/emberjs/data/blob/master/packages/adapter/addon/-private/utils/serialize-query-params.ts). https://github.com/ljharb/qs e.g. ``` qs.stringify({ a: { b: { c: 'd', e: 'f' }...
Implements #8781 This is me attempting to implement https://emberjs.github.io/rfcs/0332-ember-data-record-links-and-meta.html 🎉 I am working on it live on stream if anyone wants to follow along 😂 https://twitch.tv/real_ate opening it as a...
Would it be possible to set up a way to use an `AbortController` to abort fetch requests? I'm interested in having the ember-data fetches that are triggered in model hooks...
Recently discovered that this method was implemented incorrectly on ShimModelClass which is what we began handing out to adapters/serializers in 3.28. This means starting in 3.28+ transforms would not have...