Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
krainboltgreene
on Aug 7, 2022
|
parent
|
context
|
favorite
| on:
GraphQL kinda sucks
> Sure, you could have a syntax for requesting (potentially recursive) nested resources in the query string of a REST API
Or you could just make an endpoint that gives you the data you want.
imtringued
on Aug 7, 2022
[–]
That endpoint has to be unique for the client, otherwise someone else could abuse this API and when you filter out an attribute the rogue user depends on, you break their application.
krainboltgreene
on Aug 7, 2022
|
parent
[–]
No it doesn't. It's just a GET request with a parameter or two. People make this stuff so hard when it doesn't need to be.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Or you could just make an endpoint that gives you the data you want.