Closed rvanlaak closed 9 years ago
This was already suggested in #5. :smirk:
You're totally right, but that issue does not have a solution for that. What do you suggest?
As mentioned over there, when things get more complicated, you would need a custom approach anyway. But I wouldn't try to store running text (like an email footer) in such a setting because probably you'll also need translations for it.
You're right about the translations, but for now it is the best solution. What about adding an extra field to the Setting that defines the Doctrine type, and always let Doctrine serialize the value? Would that work?
This is the same discussion as in #5. :smile: I'd like to keep the bundle as simple as it is.
The Setting entity mapping is coded using annotations, which makes it impossible to override it. So what I'd like to propose is to move from Annotations to a yml
file so the entity mapping can be overridden in /app/Resources/CraueConfigBundle
. That way the bundle doesn't change, but allows others to fix this.
Could you open a new issue to discuss this?
... because the settings can also be used to for instance store customer's email autographs.