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.

Project Deployment Actions Updated
react-native-nitro-sqlite Ready Ready Preview Nov 13, 2026 10:05am UTC

Request Review

chrispader and others added 2 commits November 13, 2026 11:04
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>

This branch was successfully deployed

1 active deployment
Preview — f157cc58 Deployed Nov 13, 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