I am encountering different behaviors when streaming the replication.
In the first case (simple primary key), the user who modifies the document receives a subscribe event.
In the second case, where a composite primary key is used, the user who modifies the document does not receive a subscribe event. All other users/tabs receive the event.
Couldn't find the exact source code lines where the difference occurs while debugging.
The logic behind both cases is the same. I have checked this thoroughly and am quite sure that it is due to the primary key.
Does anyone have any idea or hint on what could be causing this?
Hello everyone,
I am encountering different behaviors when streaming the replication. In the first case (simple primary key), the user who modifies the document receives a subscribe event. In the second case, where a composite primary key is used, the user who modifies the document does not receive a subscribe event. All other users/tabs receive the event. Couldn't find the exact source code lines where the difference occurs while debugging. The logic behind both cases is the same. I have checked this thoroughly and am quite sure that it is due to the primary key. Does anyone have any idea or hint on what could be causing this?
Pseudo Code:
Case 1:
servicePlan (primary key with a single field)
Server Response:
Result: Subscribe event for the user who changed the document.
Case 2:
serviceObject (composite primary key)
Server Response:
Result: No subscribe event for the user who changed the document.
Technical Details:
Rxdb (15.12.0) Storage: Dexie replicateGraphQL