Skip to content

refactor: rename the prepared statement hybrid object - #460

Open
chrispader wants to merge 2 commits into
nitro-v1/docsfrom
nitro-v1/hybrid-object-names
Open

chrispader wants to merge 2 commits into
nitro-v1/docsfrom
nitro-v1/hybrid-object-names

Conversation

@chrispader

@chrispader chrispader commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Nitro V1 registers hybrid objects under the module's namespace, so NitroSQLitePreparedStatement no longer needs its prefix to stay unique. This renames the hybrid object to PreparedStatement, along with its spec and C++ files. The public NitroSQLitePreparedStatement type keeps its name because the JavaScript API already exports a PreparedStatement interface.

🤖 Generated with Claude Code

@chrispader
chrispader added this pull request to stack #461 October 22, 2026 18:19
@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
react-native-nitro-sqlite Skipped Skipped Oct 23, 2026 12:19am UTC

Request Review

@chrispader
chrispader force-pushed the nitro-v1/hybrid-object-names branch from b64df9e to 9f1ee6e Compare October 22, 2026 18:44
@chrispader
chrispader removed this pull request from stack #461 October 22, 2026 20:15
@chrispader
chrispader force-pushed the nitro-v1/hybrid-object-names branch from 9f1ee6e to 311b253 Compare October 22, 2026 20:15
@chrispader
chrispader added this pull request to stack #464 October 22, 2026 20:16
chrispader and others added 2 commits October 23, 2026 01:16
Nitro V1 registers hybrid objects under the module's namespace, so
NitroSQLitePreparedStatement no longer needs its prefix to stay
unique. The spec, its C++ implementation and the generated bindings
now use PreparedStatement. The public NitroSQLitePreparedStatement
type keeps its name because the JavaScript API already exports a
PreparedStatement interface.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shorter class name changes how clang-format wraps the constructor
and sorts the generated spec includes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chrispader
chrispader removed this pull request from stack #464 October 23, 2026 00:18
@chrispader
chrispader force-pushed the nitro-v1/hybrid-object-names branch from 311b253 to c33bc75 Compare October 23, 2026 00:19
@chrispader
chrispader added this pull request to stack #466 October 23, 2026 00:19

This branch was previously deployed

1 inactive deployment
Preview — c33bc759 Deployed Oct 23, 2026 by vercel[bot]
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.

1 participant