qubit
qubit copied to clipboard
Seamless RPC for Rust & TypeScript
Is there a way to have our custom types exported from the `index.ts` file somehow? Just a QoL question I'm wondering if I can minimize imports like `import type {...
I would like if qubit handled `Results` for me. I'm using a database for the queries and every operation returns a Result. I would like if qubit: - Did not...
If I use the authentication example and add subscription to it, the subscription doesn't work, as it reaches https://github.com/paritytech/jsonrpsee/blob/c9e26b04b1eb627e280657214ab7227f8d688267/server/src/middleware/rpc/layer/rpc_service.rs#L115 this line of code. It seems that having any `FromRequestExtensions` usage...
openrpc is something like `swagger/openapi for jsonrpc` similar work: yerpc (https://github.com/chatmail/yerpc) has rustts and openrpc, but I couldn't get its axum example code to connect to the browser :(
There doesn't seem to be a way to close a WebSocket connection. My use-case is that I have a React component that connects to a URL that I don't know...
For client implementation simplicity, I'd like to use Qubit without having to use JSON-RPC. In other words: * `#[handler(query)] fn hello_world()` would map to `GET /rpc/hello_world` with query-string parameters, if...
there's currently no way to cancel pending requests in the client library (i.e. passing `signal` to `fetch`, or some other handling for websocket transport). i don't know how this can...
When TypeScript client somehow sends invalid data payload, the rust handler thread panics with the message "fukc". I think that's pretty important to fix ASAP for this to be usable...
It would be nice for this to support wasm since Axum already does