I have a model which has three relation properties (all the same type). Eg.
Thread
- user1
user2
lastUser
I have a model which has three relation properties (all the same type). Eg.
Thread
This does not sound right. I’d like to see it in your app. What is your application ID?
Regards,
Mark
Application ID is 85861D3C-D0D4-762E-FFAE-4196C3F01A00. For reference, here are two calls which produce different results:
It also seems to be affected by toggling autoload on user.profilePhoto property.
Hi David,
I was able to run both queries and observe the same result. You’re right that the responses are different, although technically the result is correct (from the backendless’ serializer perspective)…
When you see a JSON object with the “__originSubID” element, it is essentially a pointer to another entity in the same response. In order to find that entity, you look for an object that contains “__subID” with the same value. In your case, both “userA” and “lastActor” are going to be the same objects, therefore for one of the responses you will see the userA objects serialized through a pointer. What I still need to figure out is why the order of the properties in the request makes the difference on how the objects are serialized back in the response.
Hope this helps.
Regards,
Mark