daml/ledger-service
Stephen Compall 0b5ad7a7bd
interface support in the interface library (#13154)
This adds the presence of interface names, as well as lists of choices
and their argument/return types for each interface.

It also changes the semantics of DefTemplate and EnvironmentInterface:
each may contain "unresolved choices", which are the choices inherited
from interfaces for each implementing template;
EnvironmentInterface#resolveChoices will copy the full type information
as a concrete choice for each implementing template, which should be
much simpler for codegen and json-api.

A type generator should take account of the astInterfaces as well as
typeDecls in EnvironmentInterface; interfaces aren't included in
typeDecls because where I is an interface only ContractId I is
serializable.

* Ast.DataInterface is empty, just use the interfaces map directly
* port json-api for interface API changes; does not solve #12689
* port Scala codegen for interface API changes; does not add support
* port Java codegen for interface API changes; does not solve #11350

CHANGELOG_BEGIN
CHANGELOG_END
2022-03-15 19:34:54 +00:00
..
cli-opts update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
db-backend NonEmpty utilities, new nonempty-cats library (#13115) 2022-03-10 16:30:42 +00:00
fetch-contracts upgrade scalapb/netty/grpc/protobuf in proven combination (#12628) 2022-02-03 08:38:38 -05:00
http-json interface support in the interface library (#13154) 2022-03-15 19:34:54 +00:00
http-json-cli Replace silencer plugin with built-in warning configuration (#12543) 2022-01-24 15:01:35 +00:00
http-json-ledger-client Split channel configuration from LedgerClientConfiguration (#12433) 2022-01-18 10:03:33 +00:00
http-json-oracle Remove references to missing appender (#13294) 2022-03-15 18:02:02 +01:00
http-json-perf [JSON-API] Remove dependency on user provided tokens for the perf runner & refactor main (#13114) 2022-03-03 16:12:40 +00:00
http-json-testing nonempty-cats refactoring (#13282) 2022-03-14 20:48:41 -04:00
jwt update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
lf-value-json Upgrade to Scala 2.13.8 (#12506) 2022-02-03 09:05:31 +00:00
pureconfig-utils Replace silencer plugin with built-in warning configuration (#12543) 2022-01-24 15:01:35 +00:00
utils update copyright headers (#12240) 2022-01-03 16:36:51 +00:00