Skip to content

Undefined behavior when using the if and unless predicates #28

Description

@eugeneyak

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions