Migrate extensions to the new "expression and condition" #4533
D8H
started this conversation in
Enhancement ideas (and their technical discussions)
Replies: 1 comment 1 reply
-
Does the "Action with operator" automatically adjust the value of the property? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Operators
With the release 150, event-based extensions can use operators. It will be interesting to upgrade most of the extensions. I propose that we follow the same method to be consistent and keep the extensions compatible with existing events.
Replace the expression by an "expression and condition"
The resulting expression with be the same and fully compatible. It only adds a condition for it.
Add an "action with operator"
The action can't be replaced directly because parameters are not the same. We need to add a new one. I suggest that we use the "Op" suffix.
Tip: duplicate the existing action to avoid to copy-paste the events.
Hide the existing action
The old action must be kept for compatibility reason. It must be hidden and can call the new action.
Beta Was this translation helpful? Give feedback.
All reactions