Skip to content

feat(wasm): generate and export schema cache types #686

Merged
psteinroe merged 6 commits intomainfrom
feat/export-schema-types
Feb 27, 2026
Merged

feat(wasm): generate and export schema cache types #686
psteinroe merged 6 commits intomainfrom
feat/export-schema-types

Conversation

@psteinroe
Copy link
Copy Markdown
Collaborator

@psteinroe psteinroe commented Feb 18, 2026

No description provided.

@psteinroe psteinroe changed the title Generate and export WASM schema cache types from Rust feat(wasm): generate and export schema cache types Feb 18, 2026
Copy link
Copy Markdown
Collaborator

@juleswritescode juleswritescode left a comment

Choose a reason for hiding this comment

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

pretty cool that you can just get this for free with schemars

Comment thread xtask/codegen/src/generate_bindings.rs Outdated
Comment on lines +7 to +10
generate_workspace_bindings(&mode)
}

fn generate_workspace_bindings(mode: &Mode) -> Result<()> {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I guess we could also use &mode below instead of adding indirection?

Comment thread xtask/codegen/src/main.rs Outdated
TaskCommand::Pglinter => {
generate_pglinter()?;
}
TaskCommand::WasmSchemaTypes => {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this isn't wasm-related per se, right? should we rename to GenerateSchemaTypes or something?

psteinroe and others added 5 commits February 27, 2026 18:40
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove unnecessary indirection in generate_bindings and rename
WasmSchemaTypes to SchemaTypes since it's not WASM-specific.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@psteinroe psteinroe force-pushed the feat/export-schema-types branch from 7cb78a2 to 5f8f1d5 Compare February 27, 2026 17:44
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@psteinroe psteinroe merged commit 01727fa into main Feb 27, 2026
9 checks passed
@psteinroe psteinroe deleted the feat/export-schema-types branch February 27, 2026 18:21
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