How Do You Handle Errors When Working with Parsed JSON Data? or What’s the Best Way to Validate Parse

20 Replies, 1910 Views

I’m lazy, so I use `type-fest` with TypeScript to infer types from my parsed json.

Then I just let the compiler yell at me if I mess up.

For logging, I just send errors to Datadog and filter there.

Messages In This Thread



Users browsing this thread: 1 Guest(s)