DEV Community

Discussion on: Tell me a bug story

Collapse
 
jdmedlock profile image
Jim Medlock

I caught a bug just this morning related to GraphQL pagination. The root source is laziness and technical debt on my part. When writing this code I decided to get it working before adding pagination logic, but didn't add a // TODO .... Needless to say I forgot about it until yesterday when I noticed that an incorrect number of objects were being returned.

I'm now correcting and adding a test case. Boy is my face red!