mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 09:17:43 +03:00
2ccbd7f865
* Add a module-prefixes field to rename all modules in a pkg This PR adds a `module-prefixes` field to `daml.yaml` a a shorthand for specifying a `--package` flag that renames all modules in a package to have the same prefix. The docs are updated to describe how you can use this field and there is a test case that makes sure it works. fixes #4948 changelog_begin - [DAML Compiler] You can now use the new ``module-prefixes`` field in ``daml.yaml`` to add a prefix to all modules from a dependency. This is particularly useful for handling colliding module names during upgrades. See https://docs.daml.com/daml/reference/packages.html#handling-module-name-collisions for more information. changelog_end * Update compiler/damlc/daml-opts/daml-opts-types/DA/Daml/Options/Packaging/Metadata.hs Co-authored-by: Martin Huschenbett <martin.huschenbett@posteo.me> * Improve docs and fix broken suggestion changelog_begin changelog_end Co-authored-by: Martin Huschenbett <martin.huschenbett@posteo.me> |
||
---|---|---|
.. | ||
images | ||
ledger-api-test-tool | ||
navigator | ||
assistant.rst | ||
codegen.rst | ||
extractor.rst | ||
sandbox.rst | ||
visual.rst |