Skip to content

Document SQL generation review guidance#20

Draft
akshithg wants to merge 1 commit into
letsencrypt:mainfrom
trailofbits:docs/sql-generation-review
Draft

Document SQL generation review guidance#20
akshithg wants to merge 1 commit into
letsencrypt:mainfrom
trailofbits:docs/sql-generation-review

Conversation

@akshithg

Copy link
Copy Markdown

Summary

This draft adds a short SQL generation review guide and links it from the README.

The guide is intended to capture the invariants that came up while reviewing borp's generated SQL paths: separating borp-emitted SQL syntax from bind parameters and caller-owned SQL fragments, keeping generated identifiers in identifier context, considering cached query plans, and testing dialect-specific behavior.

This is proposed as a starting point rather than final project policy. Before landing, it would benefit from maintainer review for wording, scope, and whether the listed representative code anchors match how maintainers want future SQL-generation changes reviewed.

Verification

  • git diff --check
  • Documentation-only change; package tests were not run.

@akshithg

Copy link
Copy Markdown
Author

cc @aarongable @beautifulentropy

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