ember-data-model-fragments
ember-data-model-fragments copied to clipboard
Ember Data addon to support nested JSON documents
This PR fixes some type string vs type class inconsistencies in the TypeScript declaration files from #443 #444
The new unreleased type declarations want me to type `FragmentArray` like this: ```js import type { FragmentArray } from 'ember-data-model-fragments/attributes'; interface Args { model: FragmentArray; } ``` and not like...
An attempt at E-D 2.8 compatibility using record-data and public APIs. Fragments are stored internally as RecordData: ```ts type Fragment = RecordData | null; type FragmentArray = RecordData[] | null;...
Bumps [parse-url](https://github.com/IonicaBizau/parse-url) from 6.0.0 to 6.0.2. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
This PR fixes the issue of #316 and adds tests for both string and function based `typeKey`s.
`currentState` on DS.Model is now derived heuristically, so setting it to our own state machine will no longer affect any of the state flags on Fragments that we are inheriting...
If I have polymorphic fragment array: ```js export MyModel = DS.Model.extend({ parts: MF.fragmentArray('part', { polymorphic: true }), }); ``` with hierarchic fragment models: ```js export Part = MF.Fragment.extend({ // ......
I have narrowed down a regression in our application to Ember Data Model Fragments, we notice this since upgrading to 3.28 in certain scenarios. I have tried debugging, but can't...
JSONAPISerializer do not serialize a fragmentArray on ember-data 3.13.0 and it returns a void array
Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1. Release notes Sourced from socket.io's releases. 2.4.1 This release reverts the breaking change introduced in 2.4.0 (https://github.com/socketio/socket.io/commit/f78a575f66ab693c3ea96ea88429ddb1a44c86c7). If you are using Socket.IO v2, you...