2 ms·
I understand your frustration, but this is the price paid for schema compliance across systems. One qualification: the TypeSpec model should help generate your
by outlore 2y ago
I understand your frustration, but this is the price paid for schema compliance across systems.
One qualification: the TypeSpec model should help generate your API DTOs (OpenAPI, Protobuf) etc. So hopefully that saves a step or two.
As an aside, I have tried doing a full stack TypeScript application where database types trickle down to the client, it ended poorly, since the API affordances can and should evolve separately from the database design. Therefore, I do feel that separation of database and API types is necessary.