TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What do you think of GraphQL?

14 点作者 burtonator将近 3 年前
I created a poll on Twitter here:<p>https:&#x2F;&#x2F;twitter.com&#x2F;socializ3r&#x2F;status&#x2F;1527721872296665089<p>... go vote but would love to hear your thoughts on GraphQL.<p>I&#x27;m not going to bias the vote by giving my personal opinion but would love to hear yours.

4 条评论

taubek将近 3 年前
Personaly, I&#x27;m fan of Cypher. We just published a blog post about different graph query languages few days ago.<p><a href="https:&#x2F;&#x2F;memgraph.com&#x2F;blog&#x2F;graph-database-query-languages-you-should-try" rel="nofollow">https:&#x2F;&#x2F;memgraph.com&#x2F;blog&#x2F;graph-database-query-languages-you...</a>
frosted-flakes将近 3 年前
Did you know you can create polls here on HN instead of linking to Twitter?<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newpoll" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;newpoll</a>
评论 #31451749 未加载
Sohcahtoa82将近 3 年前
When I first saw GraphQL, I was like &quot;This is some overengineered shit that is going to be the next cargo cult&quot;<p>Then I got actual exposure to it, and I think it&#x27;s amazing in certain scenarios. You can easily make CRUD apps that allow a front-end to pick which database rows you want to update, and you create a metadata file that describes the database and applies permissions.<p>You get so many things for free, and the result is you have far less code to write and fewer bugs, especially around RBAC.<p>That being said, like many technologies, there will be people that try to use it for things it shouldn&#x27;t be used for.
评论 #31451992 未加载
vermasque将近 3 年前
Compared to REST APIs, I like how it eliminates the coarse-grained vs. fine-grained decision for designing queries in APIs. You can just spec out the model and let the clients decide what they need.