Repository navigation
Allow objects to export the Ord trait. - #2583
Merged
Merged
Conversation
mhammond
force-pushed
the
push-tyxrmzmmzmys
branch
from
June 30, 2025 00:21
8bddf14 to
e29f78b
Compare
bendk
approved these changes
Jun 30, 2025
bendk
left a comment
Contributor
There was a problem hiding this comment.
I don't have any comments other than this is awesome, since this is essentially just copying the existing trait handling code.
mhammond
force-pushed
the
push-tyxrmzmmzmys
branch
from
July 7, 2025 00:18
e29f78b to
135e021
Compare
mhammond
force-pushed
the
push-tyxrmzmmzmys
branch
from
July 7, 2025 00:24
135e021 to
d361bda
Compare
9 tasks done
jhugman
added a commit
to jhugman/uniffi-bindgen-react-native
that referenced
this pull request
Feb 27, 2026
Fixes #316 . This PR takes inspiration from–but supercedes #322, #333 and #338. - Fixed test runner `CMakeLists.txt` build to use `hermes/main`. - ~~Found and filed upstream mozilla/uniffi-rs#2829. [Workaround](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md#%EF%B8%8F-breaking-changes-%EF%B8%8F-2). - Found and filed upstream mozilla/uniffi-rs#2828. - Tests passing for JSI and WASM. ## Changes in [uniffi 0.30 changelog](https://github.com/mozilla/uniffi-rs/blob/main/CHANGELOG.md#%EF%B8%8F-breaking-changes-%EF%B8%8F-2). - [x] [Implement `UniffiTrait::Ord` in typescript bindings](mozilla/uniffi-rs#2583) - [x] [Enums and Records supports uniffi traits](https://github.com/mozilla/uniffi-rs/pull/2586/changes#diff-525584388b71eb2f5f328ae05791b81b99a6e01a60dc625eec335b2250f9a7b7R332-R336). - [x] Flat enums - [x] Tagged unions - [x] Records - [x] Handle lifting trait objects coming from Rust: e.g. [ObjectTemplate.kt](https://github.com/mozilla/uniffi-rs/pull/2586/changes#diff-525584388b71eb2f5f328ae05791b81b99a6e01a60dc625eec335b2250f9a7b7R332-R336) - [x] CustomTypes for defaults. Test needed to add. - [x] [CustomTypes as errors](https://github.com/mozilla/uniffi-rs/pull/2658/changes#diff-12e1c6551f0a758081614fc7d86d90e87b0be4f4b787b677ebdd2809280bbb4f). - [x] [Interfaces deriving from External traits](mhammond/uniffi-rs@b54375f#diff-522f0ef157bc0a32453bafd790a9058a35cbb8a721df58a9b51b1ec6b74db5ca) Closes #322 Closes #333 Closes #338
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2556