daml/ledger-api/grpc-definitions
nickchapman-da 9b2158508b
Add new variant to Value.scala for builtin-exceptions. (#9084)
* Add new variant to Value.scala for builtin-exceptions.

final case class ValueBuiltinException[+Cid](tag: String, value: Value[Cid]) extends Value[Cid]

And push through the code consequences.
Most places fixed up.
A couple more things to do in this PR (marked NICK)
A couple of things which can be left for later (marked 8020)

fix build

fix another scala match

changelog_begin
changelog_end

* fix any match

* add marker of code which needs attending to in the PR

* extend ledger-api value.proto & fix LfEngineToApi

* undo/comment-out the change to value.proto

* add tests in HashSpec for BuiltinException

* code but dont yet enable value-gen for builtin exceptions

* address comments which suggest we crash in various places

* support BuiltinException in scenario_service.proto

* one more TODO 8020 tag
2021-03-16 13:15:33 +00:00
..
com/daml/ledger/api/v1 Add new variant to Value.scala for builtin-exceptions. (#9084) 2021-03-16 13:15:33 +00:00
BUILD.bazel Disable deriving-defaults per file (#8684) 2021-01-29 11:01:55 +00:00
post-process.sh update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
README.md Document required protobuf definitions for bindings (#5664) 2020-04-22 10:27:23 +00:00
rst_mmd.tmpl Move protobuf docs into rst format (#334) 2019-04-10 16:42:35 +02:00