News for hackers. Stuff that matters.
Re:Things Go needs more than generics by jakelazaroff on Monday October 04, 2021 @07:02AM (#28745200)
You can solve the JSON issue by validating that it deserializes to a known type at the point of ingress. I wrote a small library that I use in basically every project to help with that: https://www.npmjs.com/package/narrows

There are no comments on this comment yet.