data
data copied to clipboard
A lightweight reactive data library for web applications. Designed over composable primitives.
See #6256 for some additional context right now we do this manually
The ember-data core team and contributors would like to modernize the API documentation by EmberConf 2020. Modernizing entails writing a package overview, revising inline documentation and auditing code snippets for...
The documentation of [`serialize`](https://github.com/emberjs/data/blob/bb4326d8fbd2d95b0e1945c9c3cf7e08890860f6/packages/serializer/addon/json.js#L925) indicates that `includeId` is `true` when serializing for `createRecord` and not when `updateRecord`, which is true only when using the [REST adapter](https://github.com/emberjs/data/blob/2c6d537175e8e5c60b64c1fbbd14ed20b7619dc1/packages/adapter/addon/rest.js): ```js // serializeIntoHash has...
From https://github.com/emberjs/data/issues/5517 Maybe also related to https://github.com/emberjs/data/issues/5807 The bug is here. I have the Model Offer, including `type: belongsTo('offerType', {async: true})` and Model Offer-type with some properties. With updating from...
**Version** 3.1.0 **Scenario** Given a `Post` with id `1` already loaded, reload it with the following code does not : - trigger any event (`didLoad`?) - update the `isReloading` property...
DEBUG: ------------------------------- index.js:158 DEBUG: Ember : 2.16.4 index.js:158 DEBUG: Ember Data : 2.16.4 index.js:158 DEBUG: jQuery : 2.2.4 index.js:158 DEBUG: Ember Simple Auth : 1.6.0 index.js:158 DEBUG: ------------------------------- When i...
Reported by @fivetanley [here](https://github.com/emberjs/data/pull/5433#issuecomment-380877957). I will need an example "fail case" payload to produce a test and debug. **scenario** ```js const IdentityProvider = DS.Model.extend({ owner: belongsTo('identity-provider-owner', { polymorphic: true, inverse:...
leaving myself a note for https://github.com/emberjs/data/pull/6644#discussion_r357334807
Records in a deleted-persisted state are retained in async relationships even when unloaded.
Support currently only exists for relationship members. However, we currently do not support serializing top level member `meta` hashes. https://jsonapi.org/format/#document-meta close #7244