Closed justin-romano closed 8 years ago
We have that already! Check out the breeze.tooling repo. There's a tool to generate TypeScript files from the entities defined in the metadata
Bugger and I just wrote it. On 17/05/2016 9:46 am, "Steve Schmitt" notifications@github.com wrote:
We have that already! Check out the breeze.tooling https://github.com/Breeze/breeze.tooling repo. There's a tool to generate TypeScript files from the entities defined in the metadata
— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/Breeze/breeze.server.net/issues/39#issuecomment-219558299
For .net it would be really great to an a typescript adapter on the server that creates .d.ts files and places them in a folder of your choice. (Development mode only of course) So it happens like a the metadata but the the adapter would write the definition to a files to a path of your choice I did this thing to write out metadata so i could cache it. But a similar thing could be done with the .d.ts files.
But have the actual types would be stupefyingly awesome.