Open adambiggs opened 7 years ago
Nervermind, I think this was user error.
Reopening this issue. I don't think this was user error after all.
When my Lambda function removes a record from the server dataset, the record remains in the local client-side dataset, but it's value is set to an empty string.
I would expect the record to be completely removed when I perform a sync.
I'm using Cognito Events to trigger a Lambda function which validates and removes invalid records in the dataset (as described here).
When the Lambda function removes a record from the data store, the
sychronize()
response from the Cognito server looks correct - the record isn't returned... But the record is never removed from the local dataset.How am I supposed to synchronize record removals?