Skip to content

Fix: HybridObjects with the same name are not included correctly in C++#1281

Open
NotGeorgeMessier wants to merge 11 commits intomrousavy:mainfrom
NotGeorgeMessier:nitrogen_includes_v2
Open

Fix: HybridObjects with the same name are not included correctly in C++#1281
NotGeorgeMessier wants to merge 11 commits intomrousavy:mainfrom
NotGeorgeMessier:nitrogen_includes_v2

Conversation

@NotGeorgeMessier
Copy link
Copy Markdown

@NotGeorgeMessier NotGeorgeMessier commented Apr 3, 2026

Another option for issue #1278
It might be not ideal but its working.
Added new hybrid objects and new hybrid views to the external package with the same name to make sure nothing causes conflicts.
Tested on:
iOS | example app | no/static/dynamic frameworks | build + all tests (+ new) + all views (+ new) ✅
Android | example app | build + all tests (+ new) + all views (+ new) ✅
iOS | my side project app | no/static/dynamic frameworks ✅

Backward compatible - yes
Migration for packages needed - yes: update include for Spec in user written cpp, replace create hybrid object and get host component by generated ts functions

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

Someone is attempting to deploy a commit to the Margelo Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 3, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
nitro-docs Skipped Skipped Apr 3, 2026 0:19am

Request Review

@NotGeorgeMessier NotGeorgeMessier marked this pull request as ready for review April 3, 2026 17:08
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