Skip to content

fix(datastore):predicate handling for observe #1537

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2021
Merged

Conversation

rjuliano
Copy link
Contributor

Issue #, if available: #1525

Description of changes:
Predicate was being evaluated against StorageItemChange instead of the actual model. The unit test was passing because StorageItemChange was being used as the model type. I've modified that so it uses Person.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@rjuliano rjuliano requested a review from a team October 13, 2021 20:09
Copy link
Contributor

@sdhuka sdhuka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rjuliano rjuliano merged commit 2592ef4 into main Oct 13, 2021
@rjuliano rjuliano deleted the rjuliano/GH1525 branch October 13, 2021 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants