Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add kotlin bindings for UI fields method #73

Closed
wants to merge 3 commits into from

Conversation

jakubuid
Copy link
Contributor

No description provided.

@jakubuid jakubuid requested a review from chris13524 November 28, 2024 14:04
@jakubuid jakubuid requested a review from llbartekll November 29, 2024 11:38

#[derive(Debug)]
#[cfg_attr(feature = "uniffi", derive(uniffi_macros::Record))]
pub struct Eip1559EstimationFields {
Copy link
Member

Choose a reason for hiding this comment

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

Can we please move this stringification to kotlin-ffi so that the types in yttrium remain Rust-idiomatic? I.e. map it in kotlin-ffi's get_ui_fields() into a new set of types

The next version of UniFFI will supporting adding UniFFI to types from external crates like this Eip1559Estimation so we can remove that mapping layer

@chris13524
Copy link
Member

It may be worth rewriting/rebasing this on #77

#[derive(Debug)]
#[cfg_attr(feature = "uniffi", derive(uniffi_macros::Record))]
Copy link
Member

Choose a reason for hiding this comment

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

@chris13524
Copy link
Member

I think we can close this in-favor of #78

@chris13524 chris13524 closed this Dec 5, 2024
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