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.
This updates the Analyzer SDK to the latest version, compatible with the most up-to-date version of FCS.
It also provides a docker-compose file for a test PG 12 database to run the tests against, as well as brief documentation about how to use it. After this change, I believe the analyzer will not run on prior versions of the analyzer CLI/SDK (due to breaking FCS API changes), but it will run on updated analyzer SDK/CLI versions. Therefore you might want to hold off on merge/release of this PR until a version of Ionide launches with support (you can watch https://github.com/fsharp/FsAutoComplete/pull/590 for details on this effort)
Types of changes
What types of changes does your code introduce to BinaryDefense.FSharp.Analyzers?
Put an x in the boxes that apply
[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
[x] Build and tests pass locally
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[x] I have added necessary documentation (if appropriate)
Proposed Changes
This updates the Analyzer SDK to the latest version, compatible with the most up-to-date version of FCS. It also provides a docker-compose file for a test PG 12 database to run the tests against, as well as brief documentation about how to use it. After this change, I believe the analyzer will not run on prior versions of the analyzer CLI/SDK (due to breaking FCS API changes), but it will run on updated analyzer SDK/CLI versions. Therefore you might want to hold off on merge/release of this PR until a version of Ionide launches with support (you can watch https://github.com/fsharp/FsAutoComplete/pull/590 for details on this effort)
Types of changes
What types of changes does your code introduce to BinaryDefense.FSharp.Analyzers? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.