Closed samuelstroschein closed 3 weeks ago
Lix likely does not need change.type information given that a plugin is responsible for applying changes, diffing, etc. The insight is derived from https://github.com/opral/lix-sdk/issues/42
change.type
Try removing change.type after https://github.com/opral/lix-sdk/issues/42 has been accepted and see if things work. We can always re-add change.type if necessary.
Nvm. Latest for validation rules or automations lix needs awareness of types for triggers.
// pseudo validation rule if (change.type === "message"){ verifyLocale(change.snapshot) }
Context
Lix likely does not need
change.type
information given that a plugin is responsible for applying changes, diffing, etc. The insight is derived from https://github.com/opral/lix-sdk/issues/42Proposal
Try removing
change.type
after https://github.com/opral/lix-sdk/issues/42 has been accepted and see if things work. We can always re-addchange.type
if necessary.