@zebassembly@voidzerodev This is great, built a POC similar using ts-morph, but didn’t get as far as schema validation.
How did you do that? Generate a Zod/similar parser from the js doc?
@Thesmophilist It’s pretty lovely just getting acceptance from the system and not having to fight for recognition. Extends to seeing people for other medical things as well it’s just accepted and feels normal, very thankful
@dillon_mulroy Thoughts on the TanStack approach, where `retry` is optionally a function and could return any retry object based on the error dynamically?
I'll continue to die on the hill of "magic directives are bad API interfaces". They're not type-safe, they're not extensible, no native runtime control, they're just strings.
... I can't believe I'm saying this, but I would rather debate @ directives. Pls rewind history.
@saltyAom This is honestly excellent. We spend a lot of time in NestJS mapping from domain types to dtos for complex structures, though the clear mapping can be a good exercise to not leak things in more mature codebases
@DavidKPiano@ethanniser has a really great blog post on the difference between difficulty and complexity. Engineers often conflate the two. https://t.co/fPqEaptL3x
@AdamRackis My one sticking point is needing to use slightly different middleware for server functions vs api routes, ending up with mostly duplicated middleware for core functions like auth
@devagrawal09@thdxr Have any pointers on what an ai first data interface looks like? We’re struggling with this currently, exposing the UI endpoints to the LLM has limited to no value