-
-
Notifications
You must be signed in to change notification settings - Fork 134
includeKey(s) not working? #30
Comments
Is author an 'Object' type on Parse? If so, the error is correct. |
It is a PFObject. Why is the error correct? In another place in my code I have a similar query not handled by LiveQuery, also pointing to a user Object and same call results without error. |
Pointers are not yet supported? Then what's the point? |
I thought I could work around it in a way... but nor the current session, nor ACLs are supported. This is still extremely limited and not very useful. |
I have encountered the same issue. Live query without pointers is really limited. Any schedule on this ? How can we help ? What about includeKeys ? Thanks |
I'm having the same problem. Here's more info: #40 |
Any timeline on this ? How can we contribute ? Thanks ! |
The problem is LiveQuery returns |
Any progress on this issue ? I've noticed that the object encoding/decoding is fixed so LiveQuery is returning PFObject. However you don't receive the full object even though the query contains includeKey. |
@Patrez this is a server side issue, the includeKey is ignored when subscribing to the query. The decision tree is processed synchronously after an object is saved on parse-server, therefore we don't have the opportunity to inject inclusions. We'd need to refactor the whole serverside logic in order to support those. |
Oh I understand and do you think that parse-server will support includeKey and LiveQueries? Should I create an issue on parse-server? |
Pull requests are welcome, if this is a feature of interest, we may start the refactor that may enable more powerful live queries. Note that this will have a negative impact performance, forcing a 'read' on the DB after each save that matches the query. It was designed to not have such impact. Do you want to tackle that in a pull request? |
Definitely interested in this. |
Is there a solution for this? |
When querying and using includeKey or includeKeys for Pointer-types, the referred objects are not loaded. Is this working as intended in ParseLiveQuery or am I doing something wrong?
Query declaration:
Subscription:
The last line produces error:
[__NSCFDictionary objectId]: unrecognized selector sent to instance
The text was updated successfully, but these errors were encountered: