FSharp.Data.SqlClient icon indicating copy to clipboard operation
FSharp.Data.SqlClient copied to clipboard

Assertion in findTypeInfoBySqlEngineTypeId

Open smoothdeveloper opened this issue 6 years ago • 1 comments

Seen it twice in few days:

image

smoothdeveloper avatar Sep 24 '19 14:09 smoothdeveloper

The assert shows when I debug the main solution opening devenv with a test script and edit the script.

It seems we have calls to register the sql data types despite, they may not have been deterministically cleared.

I don't think we should query again and again on the sql type info in design time scenario, so I'll try to introduce some logic to keep it around instead of dismissing all the information for all the sql connection strings each time a type provider is edited in the code.

smoothdeveloper avatar Sep 24 '19 16:09 smoothdeveloper