Skip to content

Add polyglot exports for surrealdb#1212

Open
IEvangelist wants to merge 1 commit intomainfrom
dapine/polyglot-export-surrealdb
Open

Add polyglot exports for surrealdb#1212
IEvangelist wants to merge 1 commit intomainfrom
dapine/polyglot-export-surrealdb

Conversation

@IEvangelist
Copy link
Contributor

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

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 18, 2026 17:36
@github-actions
Copy link
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 -- 1212

Or

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

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

const _namespaceName = await namespaceResource.namespaceName.get();
const _namespaceParentName = await _namespaceParent.name.get();

if (false) {
Copy link
Contributor

Choose a reason for hiding this comment

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

question: not sure what was attempted here

let appDatabase = await appNamespace.addDatabase('appdb', { databaseName: 'polyglotDb' });
appDatabase = await appDatabase.withCreationScript('DEFINE DATABASE IF NOT EXISTS `polyglotDb`;');

let mounted = await builder.addSurrealServer('mounted', {
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: probably rename secondary

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