News for hackers. Stuff that matters.
Re:Migrating Netflix to GraphQL Safely by rapsey on Sunday June 18, 2023 @10:35PM (#36386711)
/api/products?category=guitars&include_variants=true&page=20&per_page=100&exclude_fields=description,specs

Seems pretty readable to me.

Re:Migrating Netflix to GraphQL Safely by anytime5704 on Sunday June 18, 2023 @10:46PM (#36386784)
Also, url query parameters are kind of orthogonal to REST vs. GQL.

They can complement either API. From personal experience, choosing not to use them (as most single page web apps don’t) can make testing painful and makes deep-linking to specific states of your webpage impossible.