-
Notifications
You must be signed in to change notification settings - Fork 89
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 gRPC streaming in Auraescript #351
Comments
Will probably need this: https://docs.rs/deno_core/0.170.0/deno_core/trait.Resource.html# |
This may go against the goals of the project, and I may be missing a key advantage to having Rust be the glue for the gRPC interactions, but it may be worth looking at using a Deno compatible gRPC library for JavaScript, and then wrapping those in the predefined API functions. It may also be useful for a developer who wants to utilize the "vanilla" gRPC interaction functions in JavaScript (maybe to access unstable features? or just want to for 🤷🏻♂️ ).
EDIT: ES Protobuf doesn't generate service definitions at this time, so may not be the best choice. |
the choice to use gRPC was certainly so that users could bring their own client, but i'd like to focus this issue on the core problem that the current gRPC generation doesn't support streaming. this would be very helpful for the logging endpoints in particular. |
Right now, we don't support streaming in the TypeScript API, it would be nice if we would.
https://github.com/aurae-runtime/aurae/blob/main/auraescript/macros/src/ops.rs#L60
The text was updated successfully, but these errors were encountered: