Config YML syntax for replace/remove as well as append/merge

26 views
Skip to first unread message

Sam Minnée

unread,
Sep 9, 2015, 3:29:33 AM9/9/15
to SilverStripe Core Development, Hamish Friedlander, Marcus Nyeholt
Over the past month or two, a couple of PRs have come up addressing shortcomings in Injector and/or config:

https://github.com/silverstripe/silverstripe-framework/pull/4580

In both of these cases, they point out that it would be nice if there were ways of dealing with multiple config blocks other than "merge/append":

 - sometimes you want to replace an entire block
 - sometimes you want to flag a block for removal

I understand that there was some work-in-progress (by Hamish and/or Marcus, maybe?) about this. Is it tracked in an issue/PR anywhere?

Marcus Nyeholt

unread,
Sep 9, 2015, 3:38:20 AM9/9/15
to silverst...@googlegroups.com, Hamish Friedlander, Marcus Nyeholt
https://groups.google.com/forum/#!topic/silverstripe-dev/LRj6AhKIaMg

And the following which is a combination of things written by myself and Hamish based on the comments in the above thread




--
You received this message because you are subscribed to the Google Groups "SilverStripe Core Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-d...@googlegroups.com.
To post to this group, send email to silverst...@googlegroups.com.
Visit this group at http://groups.google.com/group/silverstripe-dev.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages