apigee-127 / bagpipes

Less code, more flow. Let's dance!
MIT License
47 stars 30 forks source link

Feature Request: finding pipes by guaranteed and documented order of operations #22

Open osher opened 7 years ago

osher commented 7 years ago

the current way forces us to "rename" a pipe in order to pass fittings-config to it. e.g.

bagpipes:
  my-customized-fitting:
    name:   my-fitting
    custom: setting1
    tuned:  value

  my-pipe:
    - my-customized-fitting

Why couldn't it be just:

bagpipes:
  my-fitting:
    custom: setting
    tuned:  value

  my-pipe:
    - my-fitting
osher commented 7 years ago

Edited: fixed wordings...

To do this we need to guarantee order of operations in pipe-finding: