sqlc
sqlc copied to clipboard
feat(analyzer): Implement parameter type annotations
A first step towards implementing https://github.com/sqlc-dev/sqlc/issues/2800.
I'd like to add some more tests to meta_test.go if I have time.
Some things to consider before merging:
- What to do about the additional comments? If you look at the test output you'll see that the new comments end up in generated source. Should we swallow them?
- Should I implement the forcenotnull thing with a map instead of a pointer to a bool? Might be simpler...
The changes to ParamRef are pure refactor.