FSharp.Configuration
FSharp.Configuration copied to clipboard
AppSettings cannot be passed as a parameter to functions
The current API exposes Settings as a type, with the parameters as static members. It would be nice if it built a data structure instead that could be passed either in its entirety or piecewise.
This would be very helpful as I tried to use this to pass a connection string to a MySQL typeprovider: it wouldn't accept it as a valid constant or attribute. Despite the type appearing to be a string in the declaration, KVP from stackoverflow clarified this for me.