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

Adding TryFromJs implementations for tuples #3843

Merged
merged 7 commits into from
Jun 24, 2024

Conversation

hansl
Copy link
Contributor

@hansl hansl commented May 9, 2024

This make it easier to get the first N values from an array when de-serializing.

Copy link

codecov bot commented May 9, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 50.78%. Comparing base (6ddc2b4) to head (9008f22).
Report is 179 commits behind head on main.

Files Patch % Lines
...engine/src/value/conversions/try_from_js/tuples.rs 50.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3843      +/-   ##
==========================================
+ Coverage   47.24%   50.78%   +3.53%     
==========================================
  Files         476      470       -6     
  Lines       46892    45347    -1545     
==========================================
+ Hits        22154    23028     +874     
+ Misses      24738    22319    -2419     

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

@hansl
Copy link
Contributor Author

hansl commented May 9, 2024

No idea why the Windows action is failing.

@nekevss
Copy link
Member

nekevss commented May 11, 2024

If you rebase the CI should be fixed 😄 There was an issue that was fixed with #3845.

@nekevss nekevss requested a review from a team May 23, 2024 20:05
@jedel1043 jedel1043 added enhancement New feature or request API labels Jun 1, 2024
@hansl hansl requested a review from jedel1043 June 12, 2024 17:02
Copy link
Member

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

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

Thank you!

@jedel1043 jedel1043 requested a review from a team June 17, 2024 17:34
@hansl hansl requested a review from jedel1043 June 17, 2024 17:56
@jedel1043 jedel1043 requested a review from a team June 17, 2024 18:33
@raskad raskad added this pull request to the merge queue Jun 24, 2024
@raskad raskad added this to the v0.18.1 milestone Jun 24, 2024
Merged via the queue into boa-dev:main with commit 149693a Jun 24, 2024
14 checks passed
@hansl hansl deleted the tuples-from-jsvalue branch June 24, 2024 22:54
jasonwilliams pushed a commit that referenced this pull request Jun 25, 2024
* Adding TryFromJs implementations for tuples

* rustfmt and clippies

* rustfmt

* Remove unit type

* Clippies
@raskad raskad modified the milestones: v0.18.1, v0.19.0 Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants