Description
It seems that this
BuildOutput
doesn't make a real API (such asoutput.addAsset(...)
) instead it exposes it's constituent fields. Some of those fields likeassets
are mutable, others are not mutable.It may be better to provide an API that one can use to add things to the output. The API can be hierarchical just like the config.
What should this API look like?
And should we separate API from implementation?
Related discussions:
Activity
dcharkes commentedon Aug 1, 2023
One thing to do here is to make a clean API, rather than exposing the fields.
dcharkes commentedon Oct 11, 2023
@mosuem as promised: This is the API that requires some iteration. 😃
build.dart
#882