Skip to content

Add polyglot exports for kurrentdb#1187

Merged
aaronpowell merged 4 commits into
mainfrom
dapine/polyglot-export-kurrentdb
Apr 1, 2026
Merged

Add polyglot exports for kurrentdb#1187
aaronpowell merged 4 commits into
mainfrom
dapine/polyglot-export-kurrentdb

Conversation

@IEvangelist

Copy link
Copy Markdown
Contributor

Adds AspireExport coverage and a matching TypeScript validation apphost for kurrentdb.

Copilot AI review requested due to automatic review settings March 18, 2026 15:54
@github-actions

github-actions Bot commented Mar 18, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.sh | bash -s -- 1187

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/CommunityToolkit/Aspire/main/eng/scripts/dogfood-pr.ps1) } 1187"

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds polyglot export coverage for the KurrentDB hosting integration and introduces a matching TypeScript ValidationAppHost under the playground to exercise the generated exports and resource property exposure.

Changes:

  • Annotate KurrentDBResource and relevant builder extension methods with [AspireExport] (including ExposeProperties = true on the resource).
  • Add a new TypeScript ValidationAppHost (tsconfig/package files, apphost.ts, run profile, Aspire settings) for KurrentDB.

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBResource.cs Adds AspireExport exposure for KurrentDB resource properties and suppresses the experimental warning.
src/CommunityToolkit.Aspire.Hosting.KurrentDB/KurrentDBBuilderExtensions.cs Exports KurrentDB builder APIs (addKurrentDB, withDataVolume, withDataBindMount) for polyglot usage and suppresses the experimental warning.
playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/tsconfig.json Adds TS compiler configuration for the new ValidationAppHost.
playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/package.json Defines the Node/TypeScript ValidationAppHost package and scripts.
playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/package-lock.json Locks dependencies for reproducible ValidationAppHost installs.
playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/apphost.ts Exercises exported APIs and property exposure for KurrentDB in TypeScript.
playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/apphost.run.json Adds run profile configuration for the ValidationAppHost.
playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/.aspire/settings.json Configures Aspire settings for running the TS ValidationAppHost with the KurrentDB package.
Files not reviewed (1)
  • playground/polyglot/TypeScript/CommunityToolkit.Aspire.Hosting.KurrentDB/ValidationAppHost/package-lock.json: Language not supported

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +4 to +5
#pragma warning disable ASPIREATS001 // AspireExport is experimental

"rootDir": "."
},
"include": ["apphost.ts", ".modules/**/*.ts", ".modules/**/*.d.ts"],
"exclude": ["node_modules"]
Comment on lines +10 to +11
#pragma warning disable ASPIREATS001 // AspireExport is experimental

IEvangelist and others added 3 commits March 30, 2026 09:35
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@IEvangelist IEvangelist force-pushed the dapine/polyglot-export-kurrentdb branch from 409f134 to aea09f7 Compare March 30, 2026 15:43
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aaronpowell added a commit that referenced this pull request Apr 1, 2026
Squash merge of #1187

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell merged commit 9517cf2 into main Apr 1, 2026
239 of 243 checks passed
@aaronpowell aaronpowell deleted the dapine/polyglot-export-kurrentdb branch April 1, 2026 00:25
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.

3 participants