GraphQL 的强大功能,无需 GraphQL
The Power of GraphQL, Without GraphQL

原始链接: https://cobalt27.dev/

``` trpcClient.user.byId.query(1) trpcClient.user.byIdWithPosts.query(1) trpcClient.user.getProfile.query(1) trpcClient.post.listRecent.query() trpcClient.post.byAuthor.query(id) trpcClient.comment.create.mutate(data) trpcClient.comment.delete.mutate(id) trpcClient.comment.update.mutate(id) trpcClient.comment.listByPost.query(id) trpcClient.comment.listByUser.query(id) trpcClient.comment.listByPostAndUser.query(id) trpcClient.comment.listByPostAndUserAndPost.query(id) ```

Hacker News 新的 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 GraphQL 的强大,无需 GraphQL ( cobalt27.dev ) 3 分 由 Shoetp 27 分钟前 | 隐藏 | 过去 | 收藏 | 1 条评论 帮助 jarek83 1 分钟前 [–] 解决自身问题,而大多数其他技术栈并无这些问题 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请 YC | 联系 搜索:
相关文章

原文

trpcClient.user.byId.query(1)

trpcClient.user.byIdWithPosts.query(1)

trpcClient.user.getProfile.query(1)

trpcClient.post.listRecent.query()

trpcClient.post.byAuthor.query(id)

trpcClient.comment.create.mutate(data)

trpcClient.comment.delete.mutate(id)

联系我们 contact @ memedata.com