I develop apps and libs - such as composable-functions, string-ts, and make-service. Fighting TS so others don't have to!
Co-creator of getflashboard.com
I develop apps and libs - such as composable-functions, string-ts, and make-service. Fighting TS so others don't have to!
Co-creator of getflashboard.com
Hey Christopher!
I have now revisited the code and created another post you might like. I incorporated your suggestion and created a little cache: dev.to/seasonedcc/type-safe-env-va...
Cheers
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for the great post! Was it intentional to re-parse the schema every time you access an env var?
Hey Christopher! Thanks for the feedback. Yeah it is intentional. It can be improved but haven't felt the need when writing this post =)
Hey Christopher!
I have now revisited the code and created another post you might like. I incorporated your suggestion and created a little cache:
dev.to/seasonedcc/type-safe-env-va...
Cheers