Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Record removals are not synchronized #44

Open
adambiggs opened this issue Jan 19, 2017 · 2 comments
Open

Record removals are not synchronized #44

adambiggs opened this issue Jan 19, 2017 · 2 comments

Comments

@adambiggs
Copy link

adambiggs commented Jan 19, 2017

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?

@adambiggs
Copy link
Author

Nervermind, I think this was user error.

@adambiggs
Copy link
Author

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.

@adambiggs adambiggs reopened this Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant