Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add basic parsing of boolean flag query metadata annotations #2464

Merged
merged 1 commit into from
Jul 17, 2023

Conversation

andrewmbenton
Copy link
Collaborator

This is just a starting point for implementing the proposal in #2454.

For now I just parse comment lines starting with @<string> as true-valued boolean flags associated with a query.

I have another PR coming that uses this for sqlc vet rule opt-out.

@andrewmbenton andrewmbenton merged commit 4d764a2 into main Jul 17, 2023
7 checks passed
@andrewmbenton andrewmbenton deleted the andrew/extra-query-metadata branch July 17, 2023 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant