Skip to content

Commit

Permalink
refactor: configs are now fully resolved ahead of time in one pass
Browse files Browse the repository at this point in the history
This turned out to be a pretty big refactor. The key changes made are:
- The context for template strings is much more clearly defined
  and documented.
- The context is now the same for every module and is fully prepared
  on startup instead of needing multiple passes and having different
  keys depending on when/where it is used. This does mean that some
  existing template strings needed to be changed, but they were not
  a properly supported feature anyway.
- Some functionality has now been moved out of the PluginContext and
  back to the Garden class. In turn, Command actions are now passed a
  Garden instance.
- Module and Service are now interfaces instead of classes, so they are
  now simple objects that are passed around. This cleans up the API for
  plugins, and also paves the way for out-of-process plugins.
- ServiceConfigs and TestConfigs are now attached directly to
  ModuleConfig objects.
  • Loading branch information
edvald committed Aug 17, 2018
1 parent dec8e35 commit a5e5526
Show file tree
Hide file tree
Showing 129 changed files with 3,235 additions and 2,571 deletions.
1 change: 1 addition & 0 deletions docs/reference/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

* [Commands](./commands.md)
* [Config](./config.md)
* [Template strings](./template-strings.md)
Loading

0 comments on commit a5e5526

Please sign in to comment.