Force Transitive Dependencies
- gtpaulose2OP
Referencing this answer: Problem with transitive dependencies - #4 by cocreature
It would be great if i could force expose all packages within a dar.
Suppose I had a dar (main.dar) with 10 sub dars (one,dar, two.dar,…,ten.dar) packaged inside it, then my daml.yaml would look like this (if i wanted to access the templates inside the sub dars:
data-dependencies: - <path_to_main.dar> build-options: - --package=one-0.0.0 - --package=two-0.0.0 - --package=three-0.0.0 .... ........ - --package=ten-0.0.0Ideally would be nice to be able to do the following,
data-dependencies: - <path_to_main.dar> build-options: - --unpack-packages=main-0.0.0 - gtpaulose2
This is useful as splitting of dars and packaging them as a bundle has advantages when upgrading and deploying