daml/ledger-api
Stefano Baghino 793fd8fdfc
Correctly document and report malformed party names when allocating (#8642)
* Correctly document and report malformed party names when allocating

changelog_begin
[Ledger API] Documented the hard-coded limit of 255 characters for Daml-LF party names.
[Ledger API] Malformed party names are now correctly reported back with an INVALID_ARGUMENT error
changelog_end

* Make sure that what is given is a suggestion

Co-authored-by: Robert Autenrieth <31539813+rautenrieth-da@users.noreply.github.com>

* Use Future.successful where possible

Co-authored-by: Robert Autenrieth <31539813+rautenrieth-da@users.noreply.github.com>

* Address https://github.com/digital-asset/daml/pull/8642#discussion_r565116571

* Address https://github.com/digital-asset/daml/pull/8642#discussion_r565122362

* Keep fields private where possible

* Whitelist new tests on compatibility suite

* Don't run the new tests on Canton

Co-authored-by: Robert Autenrieth <31539813+rautenrieth-da@users.noreply.github.com>
2021-01-27 18:50:19 +00:00
..
grpc-definitions Correctly document and report malformed party names when allocating (#8642) 2021-01-27 18:50:19 +00:00
perf-testing Build and test //ledger-api/... against Scala 2.13 (#8452) 2021-01-11 16:53:54 +01:00
rs-grpc-akka Build and test //ledger-api/... against Scala 2.13 (#8452) 2021-01-11 16:53:54 +01:00
rs-grpc-bridge Build and test //ledger-api/... against Scala 2.13 (#8452) 2021-01-11 16:53:54 +01:00
rs-grpc-testing-utils Build and test //ledger-api/... against Scala 2.13 (#8452) 2021-01-11 16:53:54 +01:00
sample-service Build and test //ledger-api/... against Scala 2.13 (#8452) 2021-01-11 16:53:54 +01:00
scripts open-sourcing daml 2019-04-04 09:33:38 +01:00
testing-utils Upgrade scalafmt and enable trailing commas (#8437) 2021-01-09 11:37:37 +01:00
.gitignore open-sourcing daml 2019-04-04 09:33:38 +01:00
.sbtopts open-sourcing daml 2019-04-04 09:33:38 +01:00
BUILD.bazel update copyright notices for 2021 (#8257) 2021-01-01 19:49:51 +01:00
README.md correct broken ledger-api-introduction links (#1565) 2019-06-07 15:18:21 -04:00
VERSION LF: Release LF 1.11 (#8562) 2021-01-21 14:27:37 +01:00

Ledger-API

This is the API code for the ledger, which contains:

  • gRPC API definitions
  • Generated Scala bindings
  • gRPC-RS bridge
  • gRPC-Akka bridge
  • Server API classes with validation
  • Prototype Server
  • Prototype Clients
    • Scala
    • Python
    • Node.js
  • Integration tests for all of the above

Documentation

The Ledger API Introduction contains introductory material as well as links to the protodocs reference documentation.

See the docs README for more about how to preview and publish documentation.