You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cyclic/nested HasMany relationships are not extracted #239
Simply clone it and run ng test --no-watch and one test should fail. I believe I have valid JSON:API data and correct model classes.
I expect thing_1.categories[0] to be category_1, and this is correct. However, I also expect category_1.members[0] to be thing_1, but the array is empty instead.
I know a test case in this repository would be the most helpful for debugging, but I'm not familiar enough with the layout of tests here to add a significant amount of code (new models, mock response data, etc.).
Edit: I have a draft PR now that demonstrates the issue.
Activity
magneticflux- commentedon Aug 28, 2019
I know a test case in this repository would be the most helpful for debugging, but I'm not familiar enough with the layout of tests here to add a significant amount of code (new models, mock response data, etc.).
Edit: I have a draft PR now that demonstrates the issue.
Merge pull request #241 from magneticflux-/fix#239-cyclic-hasmany