Title: Adjusting the codegen handler order · Issue #2716 · sqlc-dev/sqlc · GitHub
Open Graph Title: Adjusting the codegen handler order · Issue #2716 · sqlc-dev/sqlc
X Title: Adjusting the codegen handler order · Issue #2716 · sqlc-dev/sqlc
Description: Version 1.21.0 What happened? repo: sqlc-gen-go-separate I have created a plugin with the aim of changing the codegen/golang templates to meet my project requirements. But I found that due to the order of the handlers, I cannot use the c...
Open Graph Description: Version 1.21.0 What happened? repo: sqlc-gen-go-separate I have created a plugin with the aim of changing the codegen/golang templates to meet my project requirements. But I found that due to the o...
X Description: Version 1.21.0 What happened? repo: sqlc-gen-go-separate I have created a plugin with the aim of changing the codegen/golang templates to meet my project requirements. But I found that due to the o...
Opengraph URL: https://github.com/sqlc-dev/sqlc/issues/2716
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Adjusting the codegen handler order","articleBody":"### Version\r\n\r\n1.21.0\r\n\r\n### What happened?\r\n\r\nrepo: [sqlc-gen-go-separate](https://github.com/topazur/sqlc-gen-go-separate)\r\n\r\nI have created a plugin with the aim of changing the `codegen/golang` templates to meet my project requirements.\r\n\r\nBut I found that due to the order of the handlers, I cannot use the `config.SQLGen` field in the configuration item.\r\n\r\nI think we should lower the priority of `golang.Generate`.\r\n\r\n### Playground URL\r\n\r\n_No response_\r\n\r\n### What operating system are you using?\r\n\r\nmacOS\r\n\r\n### What database engines are you using?\r\n\r\nPostgreSQL\r\n\r\n### What type of code are you generating?\r\n\r\nGo","author":{"url":"https://github.com/topazur","@type":"Person","name":"topazur"},"datePublished":"2023-09-08T05:48:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2716/sqlc/issues/2716"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c517eb2e-cfa4-4aca-0738-06f970a0726a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E68E:29798E:49798:62EA3:6A521CE1 |
| html-safe-nonce | 2f05f6526c8e5a2c130617663fe4d63071ee6fac9975eb80130d0fefc1165cf5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjhFOjI5Nzk4RTo0OTc5ODo2MkVBMzo2QTUyMUNFMSIsInZpc2l0b3JfaWQiOiI1MDQ2NzY3OTk4Nzk2NTE1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 11265e3b864df1ea39006ade173af3588751ec526fb7c1a46cbb41bd2f9c1a00 |
| hovercard-subject-tag | issue:1886979544 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sqlc-dev/sqlc/2716/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5f087b0c489e4fd605ccf5a79ecf4ce1352f0fe2cd675b2175694ea0ae9f8803/sqlc-dev/sqlc/issues/2716 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5f087b0c489e4fd605ccf5a79ecf4ce1352f0fe2cd675b2175694ea0ae9f8803/sqlc-dev/sqlc/issues/2716 |
| og:image:alt | Version 1.21.0 What happened? repo: sqlc-gen-go-separate I have created a plugin with the aim of changing the codegen/golang templates to meet my project requirements. But I found that due to the o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | topazur |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width