Skip to content

feat: add support for overriding lang subdir#140

Merged
lidavidm merged 4 commits intoadbc-drivers:mainfrom
amoeba:feat/non-default-language-sudirs
Apr 11, 2026
Merged

feat: add support for overriding lang subdir#140
lidavidm merged 4 commits intoadbc-drivers:mainfrom
amoeba:feat/non-default-language-sudirs

Conversation

@amoeba
Copy link
Copy Markdown
Contributor

@amoeba amoeba commented Apr 11, 2026

What's Changed

Adds and wires through a new option to LangConfig called subdir that lets driver repos use a non-default subdirectory (or the repo root) for their driver, rather than having to put their driver code in a language-specific subdir. Having a pattern for multi-lang driver repos is good but I think supporting single-lang driver repos is worthwhile.

For example, a Go driver at the root of a repo would enable Go and set their subdir with,

driver = "something"
private = false

[lang.go]
subdir = "."

Also re-generates the generate schema and we were out of date so there are extra changes in there.

@amoeba amoeba requested a review from lidavidm as a code owner April 11, 2026 01:09
@lidavidm lidavidm merged commit 240a23e into adbc-drivers:main Apr 11, 2026
5 checks passed
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.

2 participants