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

WIP: Custom conversions #491

Closed
wants to merge 3 commits into from

Conversation

pablochacin
Copy link

Implement a mechanism for custom conversions between JS and Go values.

Fixes #426

Signed-off-by: Pablo Chacin <pablochacin@gmail.com>
Signed-off-by: Pablo Chacin <pablochacin@gmail.com>
Signed-off-by: Pablo Chacin <pablochacin@gmail.com>
@pablochacin
Copy link
Author

After more research, I found achieving custom conversion that includes fields in objects would require a significant rewrite of the goja runtime logic.

@pablochacin pablochacin closed this May 2, 2023
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.

Public interface for ToValue customization ?
1 participant