Title: [Plugins] Should the `plugin` package be moved out of `internal`? · Issue #1688 · sqlc-dev/sqlc · GitHub
Open Graph Title: [Plugins] Should the `plugin` package be moved out of `internal`? · Issue #1688 · sqlc-dev/sqlc
X Title: [Plugins] Should the `plugin` package be moved out of `internal`? · Issue #1688 · sqlc-dev/sqlc
Description: Version 1.14.0 What happened? I wanted to play around with authoring a plugin, but after reading the documentation and looking at the example code, I realized that the plugin package, which contains the protobuf-emitted code, lives under...
Open Graph Description: Version 1.14.0 What happened? I wanted to play around with authoring a plugin, but after reading the documentation and looking at the example code, I realized that the plugin package, which contain...
X Description: Version 1.14.0 What happened? I wanted to play around with authoring a plugin, but after reading the documentation and looking at the example code, I realized that the plugin package, which contain...
Opengraph URL: https://github.com/sqlc-dev/sqlc/issues/1688
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Plugins] Should the `plugin` package be moved out of `internal`?","articleBody":"### Version\n\n1.14.0\n\n### What happened?\n\nI wanted to play around with authoring a plugin, but after reading the documentation and looking at the example code, I realized that the `plugin` package, which contains the protobuf-emitted code, lives under `internal`. By definition this means that no Go code outside of sqlc can import it. I saw that the ultimate goal is to have WASM-based plugins, but #1578 indicates that development on that has been stalled, opting for process-based plugins for the time being.\r\n\r\nAm I missing something obvious that makes it possible to write a process-based plugin? Or does the `plugin` package need to be moved out of `internal`?\n\n### Relevant log output\n\n_No response_\n\n### Database schema\n\n_No response_\n\n### SQL queries\n\n_No response_\n\n### Configuration\n\n_No response_\n\n### Playground URL\n\n_No response_\n\n### What operating system are you using?\n\n_No response_\n\n### What database engines are you using?\n\n_No response_\n\n### What type of code are you generating?\n\n_No response_","author":{"url":"https://github.com/linux2647","@type":"Person","name":"linux2647"},"datePublished":"2022-06-18T21:52:51Z","url":"https://github.com/sqlc-dev/sqlc/issues/1688"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:55bc18bc-b21e-1529-dfe5-a4a6767dd4ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B714:213839:2B94804:37B3A10:6B01A3B9 |
| html-safe-nonce | ec56d13246c574d74cb4924af47d09d161958508a2d0c69ff1c5c8d03e34ce90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzE0OjIxMzgzOToyQjk0ODA0OjM3QjNBMTA6NkIwMUEzQjkiLCJ2aXNpdG9yX2lkIjoiMzgwOTAzODkzNzA1ODU1MDcxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8a4b73e553a894e6a32327422ce03fdb5fe6635d46e4ff83b42a98c55531766b |
| hovercard-subject-tag | issue:1275894032 |
| 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/1688/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb60acd12577f0ff4d788fabab7725c9303dc7bea5b801bca37e13448f8a452c/sqlc-dev/sqlc/issues/1688 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb60acd12577f0ff4d788fabab7725c9303dc7bea5b801bca37e13448f8a452c/sqlc-dev/sqlc/issues/1688 |
| og:image:alt | Version 1.14.0 What happened? I wanted to play around with authoring a plugin, but after reading the documentation and looking at the example code, I realized that the plugin package, which contain... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | linux2647 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width