Closed web3nomad closed 1 month ago
https://github.com/oscartbeaumont/rspc/blob/v0.2.0/examples/
0.2.0 文档和 examples 目前是最新的,可以参考
之前的版本里 prisma 的数据类型使用的 specta 版本和 rspc 兼容的 specta 版本不一致,所以所有的返回类型都需要重新声明,现在可以直接用 prisma 的数据类型。
https://github.com/bmrlab/tauri-dam-test-playground/commit/159b836f4916238719cf1f675c926e7accddf622
https://github.com/oscartbeaumont/rspc/releases/tag/v0.2.0