quilt
quilt copied to clipboard
Add better support for protocol buffers
TODO
- [x] Support directly serializing array buffers
- https://chatgpt.com/share/3ed4f746-c763-4f9d-9506-d10a12af5ab3
- https://www.perplexity.ai/search/im-looking-to-encode-a-protoco-dobl114ASZiZC8Vn2lVCXA
- [ ] Create custom async action that can optionally rehydrate from stringified cache entry
Reference
- https://github.com/protobufjs/protobuf.js/tree/master/cli
- https://github.com/timostamm/protobuf-ts
- https://buf.build/blog/introducing-connect-query
- https://github.com/bufbuild/protobuf-es?tab=readme-ov-file
- https://github.com/bufbuild/protobuf-es/blob/main/docs/generated_code.md
- https://github.com/connectrpc/connect-es?tab=readme-ov-file
- https://connectrpc.com/docs/web/getting-started/
- https://connectrpc.com/docs/protocol/
- https://github.com/connectrpc/examples-es/blob/main/cloudflare-workers/src/worker-handler.ts
- https://github.com/tatethurston/TwirpScript
Exploration: https://github.com/lemonmade/24-06-29-quilt-protobuf-test
Some key information from the exploration:
Bundle report:
Typical API request: