Skip to content

Conversation

@kazegusuri
Copy link
Contributor

Summary

Sync codegen.pb.go from sqlc to add exclude_columns support for codegen plugins.

Changes

  • Add ExcludedColumns field to Table struct
  • Add ExcludedColumns field to Query struct
  • Fix proto lint errors:
    • Rename SORT_BY_DIR_UNDEFINED to SORT_BY_DIR_UNSPECIFIED
    • Rename SORT_BY_NULLS_UNDEFINED to SORT_BY_NULLS_UNSPECIFIED
    • Rename SourceLocation fields to snake_case (leading_detached_comments, leading_comments, trailing_comments)

This allows codegen plugins to access information about which columns were excluded from star expansion via the exclude_columns config.

Related PR: newmo-oss/sqlc#5

🤖 Generated with Claude Code

Sync codegen.pb.go from sqlc to add excluded_columns support:
- Add ExcludedColumns field to Table struct
- Add ExcludedColumns field to Query struct

This allows codegen plugins to access information about which columns
were excluded from star expansion via the exclude_columns config.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Copy link
Member

@sivchari sivchari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx!

@kazegusuri kazegusuri merged commit d621492 into main Dec 10, 2025
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.

3 participants