NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 40 min
How to verify documented GraphQL limits with one request each, count depth honestly, and stop before a limit test becomes load.
A rate limit counts requests. In GraphQL one request can ask for one value or for thousands, depending on what the document says. The Ledgerline standard therefore bounds the document itself: query depth at most 6, and at most 5 aliases of one field.
Both limits were tested between 14:26 and 14:41, each with a single hand written query from Ben against Acme Bakery. The alias query came back refused with 400. The depth query came back with 200 and data. One control held and one did not, and the work now is to say exactly what was sent, how it was counted, and why you stopped there.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in