Amazon Product API in GraphQL: Deduping Repeated ASINs with DataLoader
Wrap the TypeScript quickstart's unmodified client.js and retry.js in a graphql-js schema, and a GraphQL-specific billing trap appears that a plain REST client never exposes: a query can ask for the same ASIN twice. A per-request DataLoader, never a cross-request cache, makes that exact duplicate free without pretending the API has a batch endpoint it does not have.