top | item 44070145 (no title) mary-ext | 9 months ago the solution is to avoid TypeScript eagerly validating the object's value type. eager validation breaks cyclic references. discuss order hn newest mary-ext|9 months ago Zod's source code is a bit unwieldy to explain what's going on I feel, so here's a small validation library I wrote that uses the same principlehttps://github.com/mary-ext/atcute/blob/596e023bcb490b16d09a...
mary-ext|9 months ago Zod's source code is a bit unwieldy to explain what's going on I feel, so here's a small validation library I wrote that uses the same principlehttps://github.com/mary-ext/atcute/blob/596e023bcb490b16d09a...
mary-ext|9 months ago
https://github.com/mary-ext/atcute/blob/596e023bcb490b16d09a...