lastSyncTime is not being used (sometimes) #232
Labels
bug
Something isn't working
closing-soon-if-no-response
This issue will be closed in 7 days unless further comments are made.
Describe the bug
There are times when the delta sync code does not use the correct lastSyncTime
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The lastSyncTime should be the same value as the last successful delta/base sync
Environment(please complete the following information):
Additional context
There's a bug in
AppSyncSubscriptionWithSync.getOperationHash()
. The code uses the description of dictionaries which have no order and can randomly return different string values.Here's a fix that first sorts the dictionary into an array.
This was the issue that was causing me trouble with #219
These bugs are very time consuming to find and fix.
The text was updated successfully, but these errors were encountered: