Wikodit / js-data-jsonapi-light

JSData adapter which serialize and deserialize JSONApi response and requests.
MIT License
8 stars 4 forks source link

Fix nested tree relations #20

Closed Tronix117 closed 7 years ago

Tronix117 commented 7 years ago

When we have a structure like this:

- category A
--- category A.1
----- category A.1.a
--- category A.2
- category B

with parent, children relationships, it produces some errors when JS-Data handles the serialized datas.

Tronix117 commented 7 years ago

Follow-up: Js-Data v3 seems to not handle this case correctly, maybe it needs to be assigned to JSData.

See: js-data/js-data#463

Tronix117 commented 7 years ago

Fixed on jsdata/js-data#463