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
Enabling graphql plugin leads to document updates faiingl with the error below. The issue can be reproduced by applying the patch in the code section. The issue occurs because the graphql plugin creates two keys _revisions and _deleted that are not part of the schema. I can raise a pull request with a fix if someone can guide me on the right approach for fixing this. I have tried two approaches without success:
adding _deleted and _revisions to the schema in rxSchema but that seemed to fail because rxDocument.ts tries to set _deleted$.
Remove the keys in handleDocumentFromRemote before the event emitting but in this case deleted documents will not raise an event.
Issue
Enabling graphql plugin leads to document updates faiingl with the error below. The issue can be reproduced by applying the patch in the code section. The issue occurs because the graphql plugin creates two keys _revisions and _deleted that are not part of the schema. I can raise a pull request with a fix if someone can guide me on the right approach for fixing this. I have tried two approaches without success:
adding _deleted and _revisions to the schema in rxSchema but that seemed to fail because rxDocument.ts tries to set _deleted$.
Remove the keys in handleDocumentFromRemote before the event emitting but in this case deleted documents will not raise an event.
Error stack trace
Info
Code
The issue can be reproduced by applying this patch to the graphql example:
The text was updated successfully, but these errors were encountered: