On Sun, Jun 26, 2011 at 10:10 PM, Les Hazlewood <[email protected]> wrote:
> This looks pretty cool Alan.  We could also do this in INI by
> introducing a meta concept:
>
> [main]
> ...
> myFilter = com.foobar.whatever[scope=prototype]

I just realized this is essentially the same thing as Kalle's previous
suggestion (using a period as a prefix to trigger a 'template').  This
could work well.  And if you still wanted chain-specific config, we
could probably support something like this:

/some/path/** = myFilter[prop1=value1, prop2=value2, ...], x, y, z, ...

That way you can override individual properties that may not match the
template/prototype definition in the [main] section.  That sounds
pretty sweet to me.  Thoughts?

Cheers,

Les

Reply via email to