You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's VarsPrinter and VarsSnooper but they can't handle well this usecase: find out when a specific field or variable changes, perhaps even to a certain value.
There is a question of disallowing name and object at the same time. Perhaps allow it but make it mean "if object is object and variable name is name".
Another problem is if type is a string or the actual type.
The text was updated successfully, but these errors were encountered:
Trigger condition: state[<criteria>] != new_id and (value(new_value) if callable(value) else value == new_value). Need to note that value == new_value is a potentially dangerous side-effect incurring operation.
There's VarsPrinter and VarsSnooper but they can't handle well this usecase: find out when a specific field or variable changes, perhaps even to a certain value.
Some ideas for a predicate:
Usecases like this one https://stackoverflow.com/a/54536941/23658 could be supported like this:
All the options and alternative names:
There is a question of disallowing
name
andobject
at the same time. Perhaps allow it but make it mean "if object isobject
and variable name isname
".Another problem is if
type
is a string or the actual type.The text was updated successfully, but these errors were encountered: