Skip to content

java and c# support#892

Open
philmillman wants to merge 1 commit into
mainfrom
feature/java-dotnet-support
Open

java and c# support#892
philmillman wants to merge 1 commit into
mainfrom
feature/java-dotnet-support

Conversation

@philmillman

@philmillman philmillman commented Jul 17, 2026

Copy link
Copy Markdown
Member

Summary

  • Add @generateJavaEnv and @generateCsharpEnv code generators that emit self-contained loadable modules (typed Env, loader over __VARLOCK_ENV, sensitive-keys list), matching the existing Python/Rust/Go/PHP pattern
  • Wire varlock init language detection (Maven/Gradle; *.csproj/*.sln), VSCode decorator completions, unit + polyglot/compile-run smoke fixtures, and dedicated Java/C# integration docs (including Spring Boot run + @Bean examples)

Test plan

  • Unit tests: java.test.ts, csharp.test.ts, typegen-lang-detect.test.ts
  • varlock codegen polyglot smoke includes Java/C# markers
  • Java smoke: package shaded jar, varlock run -- java -jar target/app.jar (or Maven container)
  • C# smoke: varlock run -- dotnet run (or .NET SDK container)
  • Docs pages render: /integrations/java/, /integrations/csharp/, hub + codegen guide tables

@github-actions

Copy link
Copy Markdown
Contributor

bumpy-frog

The changes in this PR will be included in the next version bump.

minor Minor releases

  • varlock 1.11.0 → 1.12.0

patch Patch releases

  • env-spec-language 0.2.6 → 0.2.7

Bump files in this PR

Click here if you want to add another bump file to this PR


This comment is maintained by bumpy.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
varlock-website 0b4adff Commit Preview URL

Branch Preview URL
Jul 17 2026, 08:49 PM

@pkg-pr-new

pkg-pr-new Bot commented Jul 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@env-spec/parser@892
npm i https://pkg.pr.new/varlock@892

commit: 0b4adff

@theoephraim theoephraim left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lookin sharp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants