/emberdata-polymorphic

Ember Data Polymorphic issue in v4.12

Primary LanguageJavaScript

Ember Data Polymorphic issue in v4.12

This project is a proof a concept to demonstrate polymorphism issues with RESTAdapter in Ember-Data 4.12. It has been designed only for support purpose.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd ember-data-polymorphic
  • yarn

Running / Development

Reproduction steps

Once the app is running, go on the app homepage and click twice on the "Zune 30".
Open your console to see the error.

Data models

classDiagram
    direction TB
    Brand <|-- FormerBrand
    Article "1..**" -- "1" Brand
    class Brand{
      +number id
      +string name
      +string country
      +date startDate
    }
    class FormerBrand{
      +date endDate
    }
    class Article{
      +number id
      +string name
      +number price
    }
Loading