mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
e1af564bcc
* Switch from `@silent` to `@nowarn`. This annotation is native to Scala 2.12.13+ and 2.13.2+. It replaces most usages of `@silent`. I had to get creative about a couple of use cases that didn't work. Specifically: 1. Suppressing deprecation warnings works, but Scala 2.12 erroneously complains that the `@nowarn` is unnecessary. I had to suppress this warning too with `-Ywarn-unused:-nowarn`. 2. I can't seem to suppress the warning, "The outer reference in this type test cannot be checked at run time." Instead, I have refactored the code to remove the warning. We still need to use the silencer plugin to suppress some warnings about unused imports (because of compatibility between Scala 2.12 and 2.13), but this means we no longer need the library, and therefore it is not a transitive dependency that downstream consumers need to worry about. CHANGELOG_BEGIN CHANGELOG_END * Add some comments around `@nowarn` support. * language-support/scala: Fix a warning suppression. * Revert to the default warnings. Compatibility was complaining. |
||
---|---|---|
.. | ||
grpc-definitions | ||
perf-testing | ||
rs-grpc-akka | ||
rs-grpc-bridge | ||
rs-grpc-testing-utils | ||
sample-service | ||
scripts | ||
testing-utils | ||
.gitignore | ||
.sbtopts | ||
BUILD.bazel | ||
README.md | ||
VERSION |
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.