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
As you see from the response of the API, jsonApi.findAll("a", { include: "b.a" }) should return an array with a objects that have an array with b objects which contain an a object. (Sorry for my poor English skills that can't explain it better than this.) However, the b objects' a field are always null, instead of the object.
Including recursive relationships result in a null object.
A minimal example is here:
Backend
Frontend
As you see from the response of the API,
jsonApi.findAll("a", { include: "b.a" })
should return an array witha
objects that have an array withb
objects which contain ana
object. (Sorry for my poor English skills that can't explain it better than this.) However, theb
objects'a
field are always null, instead of the object.For example, I would expect such output:
However the current output is this:
The text was updated successfully, but these errors were encountered: