wilkinsona / project-generator

3 stars 4 forks source link

Allow to contribute component in the project generation context #36

Closed snicoll closed 5 years ago

snicoll commented 5 years ago

Project generation uses a dedicated application context. In order to share consistent state, we should be able to tune/register additional components.

The basic use case is to register an InitializrMetadata singleton rather than letting contributors inject a provider as said provider can return a different instance over time and a single project generation shouldn't be affected by that.