logoalt Hacker News

artahianyesterday at 6:30 PM2 repliesview on HN

That makes sense, and we've been seeing the same. But in our case, instead of having the LLM inspect an external system, TypeScript is the source of truth for both the schema and everything else, it's all code-defined, so it automatically both catches type mismatch and also makes it instantly readable both to developers and agents.


Replies

koakuma-chanyesterday at 6:34 PM

I think this actually makes a lot of sense. How do you automate transitions? Do you generate code to map old data to the latest format, or do you actually migrate the data?

show 1 reply
apsurdyesterday at 6:47 PM

good point, single type source is very appealing and LLMs are so good with TS because of those type interfaces.

only downside is forced js ecosystem x_X

show 1 reply