News for hackers. Stuff that matters.
Re:Best practices for REST API design (2020) by pfarrell on Monday February 22, 2021 @11:02AM (#26226016)
When I looked into implementing GraphQL, it didn’t seem to require the data I was serving be a graph. I found the big difference with REST was that GQL allows the consumer to define the properties returned rather than having backend engineers have to think through every use case. It wasn’t enough of a killer feature to risk the timeline on that project, so my experience is limited.
Re:Best practices for REST API design (2020) by yxhuvud on Monday February 22, 2021 @02:51PM (#26229632)
Backend engineers still need to think through every use case to decide what fields to expose.