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

Add missing shamir recovery GUI bindings #9319

Merged
merged 6 commits into from
Jan 15, 2025
Merged

Add missing shamir recovery GUI bindings #9319

merged 6 commits into from
Jan 15, 2025

Conversation

vxgmichel
Copy link
Contributor

Close #8998

@vxgmichel vxgmichel force-pushed the shamir-bindings branch 5 times, most recently from 3c7a196 to 5eeac66 Compare January 15, 2025 11:33
@vxgmichel vxgmichel marked this pull request as ready for review January 15, 2025 11:34
@vxgmichel vxgmichel requested review from a team as code owners January 15, 2025 11:34
@vxgmichel vxgmichel force-pushed the shamir-bindings branch 2 times, most recently from 3d982d0 to 4d916e5 Compare January 15, 2025 12:12
@@ -14,6 +14,8 @@
JsObject
{%- elif type.kind == "list" -%}
JsArray
{%- elif type.kind == "set" -%}
JsArray
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion: Ideally, we should be using JsSet but that type is not exposed in neon, that would require to do something similar to Map

https://github.com/Scille/parsec-cloud/pull/9319/files#diff-a2fa8ef212d1ee4f61387826d485369fbca8bd6e66bd656cb99a432bbb3957d1R354-R364

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes we did consider it. But as you pointed out, the code for Map conversion is quite tricky since it requires to use neon::reflect::eval. Since we don't know yet whether we really need Set representation on the JS side, we decided to stick with Array for now and change it later if necessary.

@vxgmichel vxgmichel added this pull request to the merge queue Jan 15, 2025
Merged via the queue into master with commit 4cc6285 Jan 15, 2025
15 checks passed
@vxgmichel vxgmichel deleted the shamir-bindings branch January 15, 2025 14:24
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.

[Shamir port] add GUI bindings
4 participants