mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
a252605d91
* Refactor handling of package names and versions This is a preparatory refactoring PR in preparation for propagating package metadata into DAML-LF. There are no actual changes in here. Primarily the changes consist of 3 things: 1. In options, we split the `optMbPackageName` field which previously contained the unit id into `optMbPackageName` and `optMbPackageVersion`. 2. We use newtypes for names and versions and try to keep them pretty much everywhere (the only place missing is `splitUnitId`, I’ll do that separately). 3. We use `UnitId` where we want `name-version`. As was probably to be expected, this surfaced some minor issues. They are pretty much exclusively in debugging or “internal” commands so I’ve mostly just added notes/todos. changelog_begin changelog_end * cry about applicativedo |
||
---|---|---|
.. | ||
src/DA/Daml | ||
BUILD.bazel |