IntersectMBO / IntersectMBO/cardano-api
Generate Haskell->JS->GRPC bindings automatically
Open
Stale
- Dominant language
- Haskell
- Stars
- 40
- Forks
- 30
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 30
Description
Currently, `cardano-wasm`'s `grpc` module calls the automatically generated gRPC or gRPC-web JavaScript bindings. But when those bindings change, the calls from Haskell to the GRPC JS bindings may break, and that break will happen at runtime.
The goals are:
- To be able to maintain the RPC module of the `cardano-wasm` library exclusively from Haskell.
- For changes to the RPC interface (`cardano-rpc`) to only affect Haskell (and not JS).
Because:
- JS breaks silently.
- But Haskell breaks at compile time (this is better for maintenance and reliability).
Contributor guide
Assessment
This issue has not been assessed yet.