frhagn / Typewriter

Automatic TypeScript template generation from C# source files
http://frhagn.github.io/Typewriter
Apache License 2.0
536 stars 132 forks source link

Support classes in assemblies using reflection #111

Open LeeCheneler opened 8 years ago

LeeCheneler commented 8 years ago

It would be useful if it were possible to generate typescript classes based on classes in assemblies, this would require reflection. This would be useful as it's common in larger projects to split out entity models for example into different assemblies and reference them in the website to use them server and client side (CRUD pages being the obvious example).

Any possibility that this could be supported in 2.x? Or is this not within the desired scope of TypeWriter? If it isn't in the desired scope then it might be useful to release the typewriter generation code as an api and then make it support multiple "feeds", so from assembly or from file or whatever?

LeeCheneler commented 8 years ago

This is a duplicate of #103. My bad :P

Kavorka79 commented 8 years ago

+1 duplicate but you explain it so well =)

frhagn commented 8 years ago

I've dome some experimenting on this and it looks very promising.. It'll probably be supported in a 2.x version, but not 2.0

henninga commented 8 years ago

+1 for this.

kuyezhiying commented 6 years ago

Seems the requirement has been asked two years ago and we still do not support generating models from Nuget package for now?