score-spec / score-go

Reference library for parsing and loading Score files
Apache License 2.0
26 stars 6 forks source link

fix: remove deprecated 0-keys placeholder behavior #33

Closed astromechza closed 7 months ago

astromechza commented 7 months ago

There was some behavior inherited from an older version of score-compose that resolved 2 part placeholders like ${resources.<name>} to <name>. This was used as a mechanism to refer to certain resources in some contexts (like volumes). A similar mechanism exists in some parts of Humanitec's implementation.

This funcitonality was ported over to score-go, but can now be removed and any special behavior can be moved into the implementations respectively.

As an aside this PR also fixes some comments in other places that were incorrect.

This is what the score-compose PR would look like: https://github.com/score-spec/score-compose/pull/103