Zaid-Ajaj / Npgsql.FSharp.Analyzer

F# analyzer that provides embedded SQL syntax analysis, type-checking for parameters and result sets and nullable column detection when writing queries using Npgsql.FSharp.
MIT License
137 stars 9 forks source link

Support analysis for queries inside lambda expressions #12

Closed francesconi closed 3 years ago

francesconi commented 3 years ago

I'm working with VS Code and the analyzer is working fine so far except it doesn't seem to analyze the queries inside lamda expressions.

Screenshot 2020-12-06 at 09 56 11

Screenshot 2020-12-06 at 09 56 34

Zaid-Ajaj commented 3 years ago

Hi there @francesconi, that's an interesting edge case, I will have a look!

Zaid-Ajaj commented 3 years ago

Fixed as of v3.18 of the analyzer, update the nuget package and it should now be able to detect the queries.

If the problem is resolved, please close the issue 😄

francesconi commented 3 years ago

It's working great! Thank you for providing a solution that fast 🚀