Samuele Lilli
Samuele Lilli
> Because I am still not sure what the error was in your config. I see a type:stream which makes no sense to me as you have a handler: grouped...
I'm working on this issue, trying to validate the configuration directly in `Configuration` file. One thing that, at the moment, is preventing me to complete the work is the default...
Maybe there’s the chance to assign a default value only under certain circumstances (ie based on handler type?). I need to check.
This is a WIP but I've found, maybe, how to accomplish the combination of not having a default value (when that value is not intended to be used from handler...
Umh, diggin' my toes deeper I've found that `beforeNormalization` probably is not the right place to add the default values (in legit cases indeed the default value is not added)....
Ok I finally found how to proceed. I should use `beforeNormalization` on the whole `ArrayNode` in order to have the values defined by the user. I'll work on this in...
I'm almost there. Just wanted to share what I've done so far https://github.com/symfony/monolog-bundle/compare/master...DonCallisto:config_validation?expand=1 I'll finish in the next days. WDYT? Is it good?
Moreover, I left this comment as a reminder for myself, maybe also the changelog (and the docs?) should be updated along with this PR.
@Seldaek did you had the chance to take a look at my questions and to this PR?
@Seldaek Sorry to read this. I was just asking in a polite way seven months after I've been doing this. Was wondering if that was just "backlogged", if it was...