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

Give plugins access to json_op helpers #3460

Closed
lucacasonato opened this issue Dec 7, 2019 · 4 comments
Closed

Give plugins access to json_op helpers #3460

lucacasonato opened this issue Dec 7, 2019 · 4 comments

Comments

@lucacasonato
Copy link
Member

It would be nice if Deno would expose the json_op rust helpers fully and also expose the json_op ts helpers. These helpers are very useful as they do a lot of the work related to async ops for you.

The Rust helpers are pretty much completly exposed, except for the blocking_json helper, which is not exposed in ops/mod.rs.

The TS helpers would probably have to go into some std/plugins package. The ts helpers require some some very minimal tweaks to make them work with plugin ops.

@bartlomieju
Copy link
Member

This is part of #2180

@ry
Copy link
Member

ry commented Dec 7, 2019

I guess we could move those helper functions into the core deno crate - they would be easier to access there.

@lucacasonato
Copy link
Member Author

Ref #7033

@bartlomieju
Copy link
Member

Resolved in #7336

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

No branches or pull requests

3 participants