News for hackers. Stuff that matters.

yougotrioted

Re:GraphQL Is a Trap? on Friday May 06, 2022 @04:30PM (#31289340)
Not trying to specifically shill my own library, but I developed this a while ago before there were any established patterns with filtering on relationships in graphql. https://github.com/tandg-digital/objection-filter

Out of curiosity, would functionality like this implemented in graphql solve your issues?

Re:Stack Overflow sold to Prosus for $1.8B on Wednesday June 02, 2021 @06:19PM (#27374742)
You saw it with their latest April fools joke - Premium Copy & Paste
I completely agree. If you have limited time to write tests, then I've found that integration tests provide the most value by far. If you're happy with your suite of integration tests, then it's also great to have a set of unit tests.