I'm enjoying FSharp.Data.Sql for tests. However I have two problems. As per the sample:
type sql =
SqlDataProvider<
dbVendor,
connString,
IndividualsAmount = indivAmount,
UseOptionTypes = useOptTypes>
a) the compiler keeps resolving the type every time there are changes in the code, making intelisense a bit too slow and also requiring permanent Internet connectivity.
b) having the host, user, and password in code might be convenient for tests and learning but that should never go into production code, ideally those would be environmental varaibles, but FSharp data expects literals.
Is it possible to freeze the type so that at least it is only resolved once and then provide the connection string in runtime?