wilkinsona / project-generator

3 stars 4 forks source link

ProjectGenerator should create a child `ApplicationContext` #33

Closed snicoll closed 5 years ago

snicoll commented 5 years ago

The current infrastructure is built around the concept of creating an ApplicationContext to let contributors run in the context of the generation of a particular project.

There are several reasons why this needs to be a child of an existing context:

  1. Some components have an application lifecycle (indent strategy, default "infrastructure" such as code writers or a cache of templates)
  2. Some requested components are defined in the application itself and need to be accessible by some contributors (the metadata being one of those).