Closed
Description
We should provide guidance on name-spacing the extensions to the base protocol so that we don't end up with name clashes.
This is for:
type
inEncodedAsset
, and- the key
Config
.
I believe the most natural way to name-space them is by using package names.
For the type
in encoded assets and build_asset_types
:
code_assets/code_asset
- or
code_assets/code
orcode_asset
inpackage:code_asset
- or
code_assets/multi_architecture
data_assets/data
ordata_asset
inpackage:data_asset
flutter/font
- or
flutter_assets/font
- or
unity/shader
- ...
And in the config extensions simply always the package name.
This should prevent any name clashes between extensions and between extensions.
Together with #2091, this should prevent name clashes between the base protocol and extensions.
Thanks for the suggestion @mkustermann 🙏
Metadata
Metadata
Assignees
Type
Projects
Status
Done