Closed Swoorup closed 4 years ago
You can try debugging the design time part to see where the exception originates https://github.com/demetrixbio/FSharp.Data.Npgsql/issues/76#issuecomment-602021760
Found the bug, and fixed it :dancing_men:
Thank you, @Swoorup!
It appears that the type provider fails to recognize parameters as a postgis type and isn't able to correctly deduce the correct CLR type.
The type provider fails on the above query when the parameter is of postgis type with the error message:
Once I temporarily fix the error with a global registration of Npgsql.NetTopologySuite mapping I get a different error message:
Firstly there probably needs to be a global parameter specifying if to use NetTopologySuite Npgsql mappings. But I am not sure about the second problem. Any ideas how to approach this?