This is a PR to solve the issue I mention in #575. Somehow my editor is configured to automatically remove trailing spaces so it has done this automatically upon saving the file as well.
Essentially this PR replaces all values of None for the basetype value of ProvidedTypeDefinition to Some typeof<obj>. To me this seems like a hack as there seems to be something fundamentally wrong with type resolution with .NET Core and F#, as there seems to be countless projects with similar issues revolving library resolution, but this is a hack which somewhat fixes it for SQLProviders for the moment.
It would be nice if this could be pulled soonish, as the fsharp language server doesn't seem to like loading SQLProviders from a locally saved project but I think it handles the nugget version reasonably.
This is a PR to solve the issue I mention in #575. Somehow my editor is configured to automatically remove trailing spaces so it has done this automatically upon saving the file as well.
Essentially this PR replaces all values of
None
for the basetype value ofProvidedTypeDefinition
toSome typeof<obj>
. To me this seems like a hack as there seems to be something fundamentally wrong with type resolution with .NET Core and F#, as there seems to be countless projects with similar issues revolving library resolution, but this is a hack which somewhat fixes it for SQLProviders for the moment.It would be nice if this could be pulled soonish, as the fsharp language server doesn't seem to like loading SQLProviders from a locally saved project but I think it handles the nugget version reasonably.