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

Support Result type when Rust calls Dart back #1945

Merged
merged 98 commits into from
May 20, 2024
Merged

Support Result type when Rust calls Dart back #1945

merged 98 commits into from
May 20, 2024

Conversation

fzyzcjy
Copy link
Owner

@fzyzcjy fzyzcjy commented May 15, 2024

Changes

Close #1928

Checklist

  • An issue to be fixed by this PR is listed above.
  • New tests are added to ensure new features are working. Please refer to this page to see how to add a test.
  • ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
  • If this PR adds/changes features, documentations (in the ./website folder) are updated.
  • CI is passing. Please refer to this page to see how to solve a failed CI.

Remark for PR creator

  • ./frb_internal --help shows utilities for development.
  • If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

Copy link

codecov bot commented May 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.24%. Comparing base (2b87aac) to head (f5fdcac).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1945      +/-   ##
==========================================
+ Coverage   99.23%   99.24%   +0.01%     
==========================================
  Files         371      373       +2     
  Lines       15896    15975      +79     
==========================================
+ Hits        15774    15855      +81     
+ Misses        122      120       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fzyzcjy fzyzcjy marked this pull request as ready for review May 19, 2024 06:07
fzyzcjy added 12 commits May 19, 2024 14:08
# Conflicts:
#	frb_example/pure_dart/lib/src/rust/frb_generated.dart
#	frb_example/pure_dart/rust/src/frb_generated.rs
#	frb_example/pure_dart_pde/lib/src/rust/frb_generated.dart
#	frb_example/pure_dart_pde/rust/src/frb_generated.rs
@fzyzcjy fzyzcjy merged commit 4b055ae into master May 20, 2024
102 checks passed
@fzyzcjy fzyzcjy deleted the feat/12020 branch May 20, 2024 04:49
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.

Rust calls Dart: Result type not translated into Dart return/exception
1 participant