Hacker News new | ask | show | jobs
by cs-szazz 2172 days ago
It sounds like you're talking about something like https://jsonapi.org/, specifically the sparse field sets https://jsonapi.org/format/#fetching-sparse-fieldsets

It feels like it has some similar goals to GraphQL by offering the client more control over the data returned, but not at the cost of potential performance problems.