| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cf9775df-be8f-6737-97c0-55ee025faf04 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B074:21DFED:7D2BE:9FA13:6B01EB4B |
| html-safe-nonce | 69a441634f59dedb2f4e6821935a10e172102f94e91d74458466958de64dde66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDc0OjIxREZFRDo3RDJCRTo5RkExMzo2QjAxRUI0QiIsInZpc2l0b3JfaWQiOiI2NTAwMjE3NjgwNDAwODcwMjE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6046ea9516b5aa456c8dfa0151070547eddb35cd591c47b481cdc3a4ec023274 |
| hovercard-subject-tag | pull_request:835780108 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/1406/files |
| twitter:image | https://avatars.githubusercontent.com/u/34893?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/34893?s=400&v=4 |
| og:image:alt | Before we can land a plugin system for code generation, we need to solidify the interface and data for the code generation step. These types are defined via a new set of protocol buffers that will ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/sqlc-dev/sqlc/pull/1406/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F1406%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F1406%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sqlc-dev%2Fsqlc |
| Reload | https://github.com/sqlc-dev/sqlc/pull/1406/files |
| Reload | https://github.com/sqlc-dev/sqlc/pull/1406/files |
| Reload | https://github.com/sqlc-dev/sqlc/pull/1406/files |
| sqlc-dev | https://github.com/sqlc-dev |
| sqlc | https://github.com/sqlc-dev/sqlc |
| Code | https://github.com/sqlc-dev/sqlc |
| Issues600 (600) | https://github.com/sqlc-dev/sqlc/issues |
| Pull requests132 (132) | https://github.com/sqlc-dev/sqlc/pulls |
| Discussions | https://github.com/sqlc-dev/sqlc/discussions |
| Actions | https://github.com/sqlc-dev/sqlc/actions |
| Projects | https://github.com/sqlc-dev/sqlc/projects |
| Security and quality | https://github.com/sqlc-dev/sqlc/security |
| Insights | https://github.com/sqlc-dev/sqlc/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose |
| kyleconroy | https://github.com/kyleconroy |
| main | https://github.com/sqlc-dev/sqlc/tree/main |
| kyle/codegen-proto-interface | https://github.com/sqlc-dev/sqlc/tree/kyle/codegen-proto-interface |
|
Conversation
0
| https://github.com/sqlc-dev/sqlc/pull/1406 |
|
Commits
11
| https://github.com/sqlc-dev/sqlc/pull/1406/commits |
|
Checks
0
| https://github.com/sqlc-dev/sqlc/pull/1406/checks |
|
Files changed
| https://github.com/sqlc-dev/sqlc/pull/1406/files |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/1406/files |
|
Define code generation interface via Protocol Buffers
| https://github.com/sqlc-dev/sqlc/pull/1406/files#top |
|
Show all changes
11 commits
| https://github.com/sqlc-dev/sqlc/pull/1406/files |
|
bf2afc7
First pass at the plugin proto files
kyleconroy Jan 20, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/bf2afc7842ef83c5218248ea3a69f580f78c2df7 |
|
ee3f21f
Make fmt
kyleconroy Jan 22, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/ee3f21f2328b9506ed522224eca5b6c9f44116f3 |
|
3825d3a
More progress
kyleconroy Jan 22, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/3825d3a2a88e18d3e29a6210c2904193fdc8d38a |
|
c84a17f
First pass at finished shim
kyleconroy Jan 22, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/c84a17fc6a52dfda1341c154389d21b6793449b5 |
|
c7fdf1d
Not building
kyleconroy Jan 22, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/c7fdf1d7a5bc19807a834e9d6e17536085eae608 |
|
cf86d86
Try some more things
kyleconroy Jan 31, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/cf86d864a203a39b6992af54503e8b949be650cf |
|
cc849aa
Python tests are passing
kyleconroy Feb 1, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/cc849aa894f6dd5ef60578bf77412e8a06c6c361 |
|
d3c90cc
Move Python code to old home
kyleconroy Feb 1, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/d3c90ccbbd663496d529d087eb8b8afb5bbf7647 |
|
3764929
Implement pattern matching
kyleconroy Feb 1, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/376492945fd70273bfbe6e69cd54423fdba26b98 |
|
f2922a2
Simplify imports
kyleconroy Feb 1, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/f2922a2a61e26cf7affe3cc3241f8b220ecbc527 |
|
64c2e4d
Move pattern matching to another package
kyleconroy Feb 1, 2022
| https://github.com/sqlc-dev/sqlc/pull/1406/commits/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000 |
|
Clear filters
| https://github.com/sqlc-dev/sqlc/pull/1406/files |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/1406/files |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/1406/files |
|
Makefile
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
|
db_test.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-8766284a40418bfc9b2526abcb3e56225f7b4e0ffb37f132e2d39847f8267d2e |
|
db_test.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-050e61e48a036616d3f967f9425536483deeac939462fcd0be14be26c81ee3e0 |
|
db_test.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-bd8b74d680779aa6dba92d5ac7c437044b72363df54f13470d31f506b5e02a84 |
|
db_test.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-df57999696d6fb80de247175f1c74afdd7918a9b6373b93e260414f846937c7a |
|
db_test.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-af2d17f1f04de3ce6f56f80efaa504a0ddb57d0ae5ec8e87e31a4244886d5344 |
|
generate.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
|
shim.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-1fe57c4219899679429d16ce3afd38f0e5519b1df6e6004594a68496498de77e |
|
gen.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-4a1cf90ba2481aa2ceb7d4fa05de163b7af23afe883d14d85dac6f7bd031fe67 |
|
imports.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-ec691f29985038d8622fe3e038f5ef9ea3dab8bde745df1a7a201d1e5a35b3e5 |
|
postgresql_type.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-5962cb308fe6790725623571e3c275c44fef79e8f2f84d7e49bcc3fc55f29ece |
|
config.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-54c7c1af5fa8d5db4dc49f0e8e80e93ba2b1183ba4d5c9e2e5729e6deae6a3cd |
|
parse_windows.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-ef0e818259be2ca5ba6bf7484c60447ffef9789ba92b288b2d3236855fdfd512 |
|
utils.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-974f825ebbdd20d36d451d46a70d3ac0f1133c738600adbebb2adb8e2b9c0761 |
|
match.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-d816f2b1e03705b0d3648afe5e8cbf30c1b6800c34c711ae23068423ec55f4c5 |
|
codegen.pb.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-989ed321aa608b36a4c349345f3f959eae2b51c37d1f20099f1a0b6222dba995 |
|
ast.pb.go
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-bb8dc372545f5d34af16cc9d6bda195a3fb9f79bce06e2e5c6ea6cb8ae53276c |
|
codegen.proto
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-7bd827b9e5f70a79f2e832b726d22c7fd81735b254e86fa0e43147b46ae7b0c3 |
|
ast.proto
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-9bc898090c133f03a9ce8454950378b88ea4d638162a8504a7ba0e77b09ec528 |
| Makefile | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/Makefile |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52 |
| examples/authors/mysql/db_test.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-8766284a40418bfc9b2526abcb3e56225f7b4e0ffb37f132e2d39847f8267d2e |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/examples/authors/mysql/db_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-8766284a40418bfc9b2526abcb3e56225f7b4e0ffb37f132e2d39847f8267d2e |
| examples/authors/postgresql/db_test.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-050e61e48a036616d3f967f9425536483deeac939462fcd0be14be26c81ee3e0 |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/examples/authors/postgresql/db_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-050e61e48a036616d3f967f9425536483deeac939462fcd0be14be26c81ee3e0 |
| examples/booktest/postgresql/db_test.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-bd8b74d680779aa6dba92d5ac7c437044b72363df54f13470d31f506b5e02a84 |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/examples/booktest/postgresql/db_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-bd8b74d680779aa6dba92d5ac7c437044b72363df54f13470d31f506b5e02a84 |
| examples/ondeck/mysql/db_test.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-df57999696d6fb80de247175f1c74afdd7918a9b6373b93e260414f846937c7a |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/examples/ondeck/mysql/db_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-df57999696d6fb80de247175f1c74afdd7918a9b6373b93e260414f846937c7a |
| examples/ondeck/postgresql/db_test.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-af2d17f1f04de3ce6f56f80efaa504a0ddb57d0ae5ec8e87e31a4244886d5344 |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/examples/ondeck/postgresql/db_test.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-af2d17f1f04de3ce6f56f80efaa504a0ddb57d0ae5ec8e87e31a4244886d5344 |
| internal/cmd/generate.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/internal/cmd/generate.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
|
| https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-2ccbd26a302b29c524a67aa623a57582264d19b24a40646065be500f2e15bbd3 |
| internal/cmd/shim.go | https://github.com/sqlc-dev/sqlc/pull/1406/files#diff-1fe57c4219899679429d16ce3afd38f0e5519b1df6e6004594a68496498de77e |
|
View file
| https://github.com/sqlc-dev/sqlc/blob/64c2e4de226b0fcfa30d153c3f35e29ea2ff5000/internal/cmd/shim.go |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/sqlc-dev/sqlc/pull/1406/{{ revealButtonHref }} |
| Please reload this page | https://github.com/sqlc-dev/sqlc/pull/1406/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |