Hi, I have a jsonapi:
In my member model: it’s reflexive relationship I expect that the direct_reporting_employees is mapping to directReportingEmployees but I got: Uncaught TypeError: Cannot read property ‘_relationships’ of undefined it means in var relationship = this._internalModel._relationships.get(key); the this._internalModel is undefined anyone has experience with this problem? I did search but nothing work ThanksRelated topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Reflexive relationships | 5 | 3137 | December 27, 2014 | |
[SOLVED] Fetching and working with nested relationships with JSONAPIAdapter | 2 | 2504 | January 22, 2016 | |
[Beginner] Relationship not working? | 0 | 1129 | January 6, 2016 | |
Right way to deal with one-to-many attributes in the same JSON... reflexive relations maybe? | 2 | 1163 | August 28, 2019 | |
Resolve related models promises to show it on handlebars templates | 3 | 1027 | June 9, 2017 |