daml/triggers/service
Stephen Compall 664a0c0076
add Action to high-level trigger updateState (#7621)
* add ActionState to the standard library

* use 1 ActionState, 1 get, 1 put in low-level trigger library

* introduce TriggerStateA for updateState

* fix tests and examples for new updateState signature

CHANGELOG_BEGIN
- [Triggers] The ``updateState`` function now returns a ``TriggerStateA``.  This
  is an action like ``TriggerA``, but doesn't permit emitting commands.  Instead
  of taking the state as an argument and returning a new state, you can
  manipulate the state with ``get``, ``put``, and ``modify``.  Any existing
  ``updateState`` can be ported by replacing ``s -> expr`` in the lambda
  expression with ``-> modify $ \s ->``, and then made to look nicer from there
  as desired.
  See `issue #7621 <https://github.com/digital-asset/daml/pull/7621>`__.
CHANGELOG_END

* some DAML docs for updateState and TriggerStateA
2020-10-09 13:56:24 -04:00
..
auth map ledger-api claims to scopes for auth0 (#7629) 2020-10-09 18:43:56 +02:00
release Rename targets (#5950) 2020-05-12 16:00:15 -04:00
src Speedy: Check language version as part of Speedy compilation. (#7440) 2020-09-22 12:43:48 +02:00
test-model add Action to high-level trigger updateState (#7621) 2020-10-09 13:56:24 -04:00
authentication.md Document cookie passing in trigger service auth (#7554) 2020-10-02 14:46:53 +02:00
BUILD.bazel Speedy: Check language version as part of Speedy compilation. (#7440) 2020-09-22 12:43:48 +02:00
daml-platform.sh Split sandbox code into separate packages (#6695) 2020-07-17 17:06:06 +02:00