tvl-depot/context
Vincent Ambo 2db3bbcdbe refactor(context): Rewrite and explain value merging logic
Changes the logic for merging context values to be unambiguous and
easy to follow.

* loadDefaultVars returns the default vars directly instead of
  performing merging in addition
* all merging is performed in `mergeContextValues` using explicit
  explanations for every step of the merge.

After this commit the order of merging goes from least to most
"specific", please read the explanatory comments for more information.

This relates to #142.
2018-06-26 21:06:38 +02:00
..
testdata refactor(context): Implement more explicit merging of variables 2018-06-09 19:16:23 +02:00
context.go refactor(context): Rewrite and explain value merging logic 2018-06-26 21:06:38 +02:00
context_test.go feat(context): Support loading import variables from absolute paths 2018-06-09 20:21:29 +02:00