Profile avatar
th3oth3rjak3.bsky.social
Software engineer and rust enjoyer.
6 posts 28 followers 9 following
comment in response to post
I’ve recently installed the KDE soon of fedora and it’s excellent!
comment in response to post
Thanks for this! I’ve wanted to start zig but have been unsure how to best do allocations due to the various types.
comment in response to post
It also highlighted an issue where one of my server types was still in snake case instead of camel case I’ve it got to the client. I didn’t know it was even a problem until I added Zod, and then it threw an error saying a property was undefined.
comment in response to post
I was having a problem in one of my client code types and it turns out the backend was returning an ISO &601 date string and it was typed as a date. Zod would have caught that in the schema and will also convert the date string for you. It also offers an infer method to generate types.