Skip to content
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

Undefined behavior when using the if and unless predicates #28

Open
eugeneyak opened this issue Mar 23, 2020 · 0 comments
Open

Undefined behavior when using the if and unless predicates #28

eugeneyak opened this issue Mar 23, 2020 · 0 comments

Comments

@eugeneyak
Copy link
Member

Now:
If I setup synchronization with if predicate like
TableSync.sync(self, if: -> (*) { syncable? })
model will send updates if predicate is truthy, but destroy will always send.

What I want:
The model must check predicates when sending both types of updates.

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

No branches or pull requests

1 participant