On 30.10.2010 12:47, Lukas Kahwe Smith wrote: > There is still one open question. > Should null values override the parameter defaults or be ignored (aka leaving > the default unchanged)? > http://github.com/knplabs/DoctrineUserBundle/commit/6e17ad246e319e8233f36c039b86aeec6deb80cc > > Right now I cannot think of a use case where one would want to override a > default with null. > The use case for having null values be ignored is being able to list all > options in a config file without having to actually set them to something: > http://gist.github.com/653472 > > Then again for efficiency reasons it would be better in that case to comment > them anyway.
Efficiency is not really relevant for this code since it only happens when the container is generated/cached. And I agree that providing a whole config example with everything nulled might be good to help people get setup quickly. Cheers -- Jordi Boggiano @seldaek :: http://seld.be/ -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
