javiereguiluz / easybook

Book publishing as easy as it should be (built with Symfony components)
https://easycorp.io/EasyBook
Other
754 stars 81 forks source link

Replace the custom configuration class with the OptionsResolver component #147

Closed javiereguiluz closed 1 year ago

javiereguiluz commented 10 years ago

Before developing the custom Configuration class that merges and validates the application configuration, I tried the OptionsResolver component but I couldn't use it.

The problem is that easybook allows the user to set and invent any configuration option for their book, but OptionsResolver is very strict about unknown options. Hopefully this could change with this pull request.