The motivation is when you have to write two separate components that both need to add a key/value to an array of a component config.
Currently, the only way to achieve this is by overriding the component config, which is problematic when to independent component wants to append ( and therefore override ) the same array.
An example with two CSS components:
ModuleOne needs to add its own js script to CSS' well-known folder. To achieve that it will override urn:solid-server:default:StaticAssetHandler in config/http/static/default.jsonModuleTwo needs to do the same.
When adding both ModuleOne and ModuleTwo to the CSS graph, only the script from ModuleTwo will be available in the well-known folder. Because ModuleOne override will be in turn overridden by MoculeTwo.
Issue type:
Description:
( From #112 )
The motivation is when you have to write two separate components that both need to add a key/value to an array of a component config.
Currently, the only way to achieve this is by overriding the component config, which is problematic when to independent component wants to append ( and therefore override ) the same array.
An example with two CSS components:
ModuleOne
needs to add its own js script to CSS'well-known
folder. To achieve that it will overrideurn:solid-server:default:StaticAssetHandler
inconfig/http/static/default.json
ModuleTwo
needs to do the same. When adding bothModuleOne
andModuleTwo
to the CSS graph, only the script fromModuleTwo
will be available in thewell-known
folder. BecauseModuleOne
override will be in turn overridden byMoculeTwo
.