René's URL Explorer Experiment


Title: [Plugins] Should the `plugin` package be moved out of `internal`? · sqlc-dev/sqlc · Discussion #1703 · GitHub

Open Graph Title: [Plugins] Should the `plugin` package be moved out of `internal`? · sqlc-dev/sqlc · Discussion #1703

X Title: [Plugins] Should the `plugin` package be moved out of `internal`? · sqlc-dev/sqlc · Discussion #1703

Description: [Plugins] Should the `plugin` package be moved out of `internal`?

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/discussions/1703

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"[Plugins] Should the `plugin` package be moved out of `internal`?","text":"\u003ch3 dir=\"auto\"\u003eVersion\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e1.14.0\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eWhat happened?\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003eI wanted to play around with authoring a plugin, but after reading the documentation and looking at the example code, I realized that the \u003ccode class=\"notranslate\"\u003eplugin\u003c/code\u003e package, which contains the protobuf-emitted code, lives under \u003ccode class=\"notranslate\"\u003einternal\u003c/code\u003e.  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 \u003ca class=\"issue-link js-issue-link\" data-error-text=\"Failed to load title\" data-id=\"1221731399\" data-permission-text=\"Title is private\" data-url=\"https://github.com/sqlc-dev/sqlc/issues/1578\" data-hovercard-type=\"pull_request\" data-hovercard-url=\"/sqlc-dev/sqlc/pull/1578/hovercard\" href=\"https://github.com/sqlc-dev/sqlc/pull/1578\"\u003e#1578\u003c/a\u003e indicates that development on that has been stalled, opting for process-based plugins for the time being.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eAm I missing something obvious that makes it possible to write a process-based plugin?  Or does the \u003ccode class=\"notranslate\"\u003eplugin\u003c/code\u003e package need to be moved out of \u003ccode class=\"notranslate\"\u003einternal\u003c/code\u003e?\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eRelevant log output\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eDatabase schema\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eSQL queries\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eConfiguration\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003ePlayground URL\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eWhat operating system are you using?\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eWhat database engines are you using?\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e\n\u003ch3 dir=\"auto\"\u003eWhat type of code are you generating?\u003c/h3\u003e\n\u003cp dir=\"auto\"\u003e\u003cem\u003eNo response\u003c/em\u003e\u003c/p\u003e","upvoteCount":1,"answerCount":3,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003eThis has been fixed as of 1.16.0. The Python and Kotlin plugins are now separate and take advantage of the \u003ca href=\"https://github.com/tabbed/sqlc-go\"\u003ehttps://github.com/tabbed/sqlc-go\u003c/a\u003e repository.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eYou can see how a plugin works here: \u003ca href=\"https://github.com/tabbed/sqlc-gen-python\"\u003ehttps://github.com/tabbed/sqlc-gen-python\u003c/a\u003e\u003c/p\u003e","upvoteCount":1,"url":"https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5084499"}}}

react-profiling0
react-import-mapreact,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/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format)
route-controllervoltron_discussions_fragments
route-actiondiscussion_layout
fetch-noncev2:f3f1267e-1bcb-dc72-1189-7642311e6ccc
current-catalog-service-hash9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be
request-idB252:31E99C:2CCF9A2:3BD4C8C:6B01D0B7
html-safe-nonce4363ea2d44952b876f1b4fc74134428e886e3dab4d6b467d12249de77d0abd78
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjUyOjMxRTk5QzoyQ0NGOUEyOjNCRDRDOEM6NkIwMUQwQjciLCJ2aXNpdG9yX2lkIjoiNjU3MzEyMDA1MTU1NjI0MTU5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2ae3afc5935b822dd07baf53f39b705840b37f118aaf0eb124fc331c76d1ea77
hovercard-subject-tagdiscussion:4172108
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/discussions_fragments/discussion_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/sqlc-dev/sqlc/1703/discussion_layout
twitter:imagehttps://opengraph.githubassets.com/2cc4867de8da64d21900bdfde6ce35fb0c5b2ce77005ea90fe3d1a56cbe4894b/sqlc-dev/sqlc/discussions/1703
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2cc4867de8da64d21900bdfde6ce35fb0c5b2ce77005ea90fe3d1a56cbe4894b/sqlc-dev/sqlc/discussions/1703
og:image:altVersion 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id193160679
octolytics-dimension-repository_nwosqlc-dev/sqlc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193160679
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/discussions/1703#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fdiscussions%2F1703
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fdiscussions%2F1703
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fdiscussions_fragments%2Fdiscussion_layout&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/discussions/1703
Reloadhttps://github.com/sqlc-dev/sqlc/discussions/1703
Reloadhttps://github.com/sqlc-dev/sqlc/discussions/1703
sqlc-devhttps://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Codehttps://github.com/sqlc-dev/sqlc
Issues600 (600)https://github.com/sqlc-dev/sqlc/issues
Pull requests132 (132)https://github.com/sqlc-dev/sqlc/pulls
Discussionshttps://github.com/sqlc-dev/sqlc/discussions
Actionshttps://github.com/sqlc-dev/sqlc/actions
Projectshttps://github.com/sqlc-dev/sqlc/projects
Security and qualityhttps://github.com/sqlc-dev/sqlc/security
Insightshttps://github.com/sqlc-dev/sqlc/insights
Answered https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5084499
kyleconroyhttps://github.com/kyleconroy
linux2647 https://github.com/linux2647
Issue Triagehttps://github.com/sqlc-dev/sqlc/discussions/categories/issue-triage
[Plugins] Should the `plugin` package be moved out of `internal`? https://github.com/sqlc-dev/sqlc/discussions/1703#top
linux2647 https://github.com/linux2647
Answered https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5084499
kyleconroyhttps://github.com/kyleconroy
Return to tophttps://github.com/sqlc-dev/sqlc/discussions/1703#top
Please reload this pagehttps://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/sqlc-dev/sqlc/discussions/1703
linux2647 https://github.com/linux2647
Jun 18, 2022 https://github.com/sqlc-dev/sqlc/discussions/1703#discussion-4172108
#1578https://github.com/sqlc-dev/sqlc/pull/1578
kyleconroy https://github.com/kyleconroy
Feb 23, 2023 https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5084499
https://github.com/tabbed/sqlc-gohttps://github.com/tabbed/sqlc-go
https://github.com/tabbed/sqlc-gen-pythonhttps://github.com/tabbed/sqlc-gen-python
View full answer https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5084499
Oldest https://github.com/sqlc-dev/sqlc/discussions/1703?sort=old
Newest https://github.com/sqlc-dev/sqlc/discussions/1703?sort=new
Top https://github.com/sqlc-dev/sqlc/discussions/1703?sort=top
Please reload this pagehttps://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/sqlc-dev/sqlc/discussions/1703
kyleconroy https://github.com/kyleconroy
Jun 25, 2022 https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-3021818
#1578https://github.com/sqlc-dev/sqlc/pull/1578
#1684https://github.com/sqlc-dev/sqlc/pull/1684
authoring pluginshttps://docs.sqlc.dev/en/latest/guides/plugins.html
https://github.com/linux2647
Please reload this pagehttps://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/sqlc-dev/sqlc/discussions/1703
linux2647https://github.com/linux2647
Jun 25, 2022 https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-3023483
https://github.com/bessiambre
Please reload this pagehttps://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/sqlc-dev/sqlc/discussions/1703
bessiambrehttps://github.com/bessiambre
Dec 30, 2022 https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-4553804
Please reload this pagehttps://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/sqlc-dev/sqlc/discussions/1703
xameless https://github.com/xameless
Feb 22, 2023 https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5074049
Please reload this pagehttps://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/sqlc-dev/sqlc/discussions/1703
kyleconroy https://github.com/kyleconroy
Feb 23, 2023 https://github.com/sqlc-dev/sqlc/discussions/1703#discussioncomment-5084499
https://github.com/tabbed/sqlc-gohttps://github.com/tabbed/sqlc-go
https://github.com/tabbed/sqlc-gen-pythonhttps://github.com/tabbed/sqlc-gen-python
kyleconroyhttps://github.com/kyleconroy
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fdiscussions%2F1703
#️⃣ Issue Triage https://github.com/sqlc-dev/sqlc/discussions/categories/issue-triage
bug https://github.com/sqlc-dev/sqlc/discussions?discussions_q=label%3Abug
triage https://github.com/sqlc-dev/sqlc/discussions?discussions_q=label%3Atriage
https://github.com/linux2647
https://github.com/kyleconroy
https://github.com/bessiambre
https://github.com/xameless
#1688https://github.com/sqlc-dev/sqlc/issues/1688
https://github.com/sqlc-dev/sqlc/discussions/1703
https://github.com/settings/replies?return_to=1
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.