oscartbeaumont / rspc

A framework for building typesafe web backends in Rust
https://rspc.dev
MIT License
1.11k stars 51 forks source link

Alpha v3 syntax #150

Closed oscartbeaumont closed 1 year ago

oscartbeaumont commented 1 year ago

The tracking issue for the version 3 syntax for rspc.

This syntax will come with a major change in the mental model. Instead of thinking about middleware and routers, you will think about procedures that are single operations. This aligns more with the tRPC v10 style of doing things and I think adopting the same patterns for rspc will make for a way better DX.

Once Full Send on v1 is active: