FSharp.Configuration icon indicating copy to clipboard operation
FSharp.Configuration copied to clipboard

AppSettings cannot be passed as a parameter to functions

Open carlpaten opened this issue 9 years ago • 1 comments

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.

carlpaten avatar May 19 '15 20:05 carlpaten

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.

SoulFireMage avatar Sep 09 '15 05:09 SoulFireMage