mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
6d39ac6984
* allow updating user state from high-level trigger rule * fix tests and examples for new rule signature * fix doc for new rule signature * add changelog CHANGELOG_BEGIN - [Triggers] ``rule`` can now ``get`` and ``put`` the user-defined state just like ``updateState`` does. It no longer accepts the state as an argument. You can port your rule function types by replacing ``s -> TriggerA`` with ``TriggerA s``, removing the last argument from the function, and using ``get`` to retrieve the state at the beginning of the ``rule``'s ``do`` block, if needed. See `issue #7674 <https://github.com/digital-asset/daml/pull/7674>`__. CHANGELOG_END * test that rule userState changes propagate all the way out * adapt compatibility filtering to #7681 |
||
---|---|---|
.. | ||
daml | ||
runner | ||
service | ||
tests |