Open dolmit-tanel-paaro opened 1 year ago
@dolmit-tanel-paaro this is a BC break and should be configurable
@dpfaffenbauer
I don't see the reason to make it configurable. This is because the value should never be altered - it should be whatever the user has defined.
I suggest to mention this change in the upgrade notes so people can check their default value interpreters configuration.
@dolmit-tanel-paaro Problem is that its been altered since we have that interpreter, if we change it, we might mess up existing definitions.
In our project, we wanted to import single space strings using
default_value
interpreter. To our surprise, we couldn't, as Symfony trims the value by default.In my opinion, the interpreter should not modify the value, ever. It's up to user to validate it.