fsprojects / FSharp.Data.SqlClient

A set of F# Type Providers for statically typed access to MS SQL database
http://fsprojects.github.io/FSharp.Data.SqlClient/
Other
205 stars 71 forks source link

Extremely long intellisense on errors #328

Open charlesroddie opened 5 years ago

charlesroddie commented 5 years ago

When we have an error indicated like this in Visual Studio: image Hovering gives: image Is it something we are doing wrong or a bug in FSharp.Data.SqlClient? Thanks!

smoothdeveloper commented 5 years ago

@charlesroddie thanks for reporting.

I've seen this in VS2019, not sure but it could be issue with the TP mishandling the root types, or maybe somehow related to the fact that VS2017/19 has issues with duplicated results in some type of projects:

Microsoft/visualfsharp/issues/2494

Do you have any more specific about environment and what would be special in your project?

How does the type provider instanciation looks like in your project?

edit: seen the instanciation, does the reported count match the number of commands you have defined in your project?

Maybe provided types need to be added to a non public root type, I don't know much about that area of TP SDK.

@7sharp9 @dsyme, any idea?