-
-
Notifications
You must be signed in to change notification settings - Fork 206
includeObject doesn't work #211
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @cantaspinar xxxx\classes/Ad?where={"state": "ES"}&limit=1000&include=category,owner&order=createdAt ..."category":{"__type":"Pointer","className":"Categories","objectId":"6XyD5UhBRm"},"owner":{"__type":"Pointer", ... |
Hi @RodrigoSMarques |
Hi. final user = object.get<ParseUser>('owner');
final category = object.get<ParseObject>('category'); |
I will try it, I assumed it hasn’t fetched the data since I can’t see the data in payload. |
Do you have a pointer or a relationship? |
It is a pointer |
Yeah, this works. What I was doing was converting each result to string and than map it to my own model. But it appears like you can't get full object string with pointers included without calling get method on parent object. |
Hello , i am having a simple problem , i have list of post with author pointer user , in list view i want to show author name from that user pointer but cant access the name , any idea ? |
I have the following query:
var queryBuilder = QueryBuilder<ParseObject>(ParseObject('Robot')) ..includeObject(["location"]);
However, it doesn't include the object from Location class. When I enable debug mode I get the following url:
https://parseapi.back4app.com/classes/Robot?where={}&include=location
It includes the pointer when I make a get request with a REST client. However the result I get from the plugin is different and doesn't include the pointer.
The text was updated successfully, but these errors were encountered: