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 for reference types? #32

Open
ranaya-formant opened this issue Dec 1, 2023 · 1 comment
Open

Support for reference types? #32

ranaya-formant opened this issue Dec 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ranaya-formant
Copy link

One thing I hope for is more language support with is the ability to expose module functions that can take references from a host app efficiently.

e.g. imagine me passing a reference to an HTML dom node from javascript to a onyx function.

any thoughts or plans?

@brendanfh
Copy link
Collaborator

This is definitely a planned feature! I was waiting to see how the references types proposal would shake out before implementing them into the language. Now that they are standardized (well, they have been for a while, but I've been focusing on other aspects of the language), I want to revisit how Onyx is used with JS to add support for that exact use case. Stay tuned!

@brendanfh brendanfh added the enhancement New feature or request label Dec 2, 2023
@brendanfh brendanfh self-assigned this Dec 2, 2023
@brendanfh brendanfh added this to the v0.2.x milestone Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants