daml/triggers/service
Stephen Compall bda13392fd
replace getContracts with query Action, usable in initialize, updateState, rule (#7632)
* add ACS reader to TriggerA and TriggerStateA

* propagate changes in TriggerA, TriggerStateA structure

* allow query to be used in updateState and rule

* remove getTemplates

* remove ACS argument from updateState and rule

* fix type parameter order on query

* use query function in all tests and examples

* replace getContracts with query in documentation

* use wildcards instead of otherwise

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* rename TriggerStateA to TriggerUpdateA

- suggested by @cocreature; thanks

* missed renamings of TriggerStateA to TriggerUpdateA

- suggested by @cocreature; thanks

* make the meaning of the rlift functions clearer

* make initialize a TriggerInitializeA instead of a function; remove getContracts

* update tests and examples for new initialize signature

CHANGELOG_BEGIN
- [Triggers] Trigger ``updateState``, ``rule``, and ``initialize`` functions no
  longer accept an ``ACS`` argument; instead, they must use the ``query`` action
  to query the ACS, similar to the same function in DAML Script.
  See `issue #7632 <https://github.com/digital-asset/daml/pull/7632>`__.
CHANGELOG_END

* disable older compatibility trigger builds

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-10-13 13:20:43 -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 replace getContracts with query Action, usable in initialize, updateState, rule (#7632) 2020-10-13 13:20:43 -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