ChrisMissal / Formo

Formo allows you to use your configuration file as a dynamic object. Turn your web.config or application settings into a rich, dynamic object.
http://chrismissal.com/Formo/
MIT License
259 stars 33 forks source link

Error when using fallback value with bool type argument. #25

Closed mikecole closed 10 years ago

mikecole commented 10 years ago

When NoWait does not exist in config file:

config.NoWait<bool>(true)

produces

Unable to cast setting value 'True' to 'System.Boolean'
> This is most likely because a TypeConverter hasn't been defined for the type 'System.Boolean'.
ChrisMissal commented 10 years ago

Fixed by #27