daml/daml-script/test
Moritz Kiefer 598698abb7
Support multi-party queries in daml script (#7682)
Small comment: This is technically not completely backwards compatible
since it messes with type inference. But to hit that you are doing
something sufficiently advanced that you should be able to add the
type annotation that is required

fixes #7635

changelog_begin

- [DAML Script] `query`, `queryContractId` and `queryContractKey` now
  accepts multiple parties using the `IsParties` abstraction used by
  `signatory`, `observer` and other fields. They will return all
  contracts for which any of the given parties is a stakeholder. Since
  `Party` is an instance of `IsParties`, this is fully backwards
  compatible.

changelog_end
2020-10-14 16:03:48 +02:00
..
daml Support multi-party queries in daml script (#7682) 2020-10-14 16:03:48 +02:00
src Support multi-party queries in daml script (#7682) 2020-10-14 16:03:48 +02:00
BUILD.bazel Support multi-party queries in daml script (#7682) 2020-10-14 16:03:48 +02:00
daml-script-test-runner.sh Support multi-party queries in daml script (#7682) 2020-10-14 16:03:48 +02:00