yerpc
yerpc copied to clipboard
An ergonomic JSON-RPC server library in Rust with autocreated TypeScript client and OpenRPC specification
If there's new data update from Rust, is there any way to send it from Rust to TypeScript? I also found Notification, but it seems to be Notifications from TypeScript...
I found the original feature request button redirected to me to the forum of deltachat, which is not about the `yerpc` lib. I'm creating a feature request for `typeshare`. Because...
- quick and dirty addition of stacktraces to errors - better errors for chromium Main usecase is having a useful stacktrace. Though it probably makes sense to do it the...
Hi I'm curious why you chose [typescript-type-def](https://github.com/dbeckwith/rust-typescript-type-def) over other ts crates like [specta](https://github.com/oscartbeaumont/specta) or [ts-rs](https://github.com/Aleph-Alpha/ts-rs).
Could you include an example of using the #[rpc(notification)] method attribute?
currently its translated to `T | null`, which is not very convenient for functions with optional arguments. actually it already accepts `undefined`, just the typescript types don't allow it yet....
Because it makes problems when bundling deltachat desktop(https://github.com/deltachat/deltachat-desktop/issues/3171) and it being optional doesn't work for some $reason. Having separate packages for different Transport implementations is more modular and should prove...
The generated `client.ts` recreates the `Transport` interface, that's already exported from `typescript/client.ts`. it should use the existing type I think.
Would be nice to have. then it can have more explanation of what does what.