Avoid [ExportTsInterface] attributes with tgconfig.json scanning (feature request)
See original GitHub issueHi,
This is a feature request.
It would be nice to avoid having to add [ExportTsInterface]
(or [ExportTsClass]
) attributes on C# models. Ideally if there would be a way to provide a regex/namespace scanning expression for TypeGen to know what C# models to generate from.
The recently added customTypeMappings
in tgconfig.json
(#36) brings us even closer to avoid attributes is most cases.
What do you think?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey, it’s an interesting feature. I’ll add it to the ‘backlog’ and try to integrate it to what already exists. If it doesn’t take too much work to implement, it will probably be in the next release. Don’t expect the next release to be very soon though - this one may take a little more time to do (probably more than a couple of days). But whenever I manage to do something, I’ll let you know in this thread. Cheers!
Nice find! I’ll also add this filter when generating types from assembly (attribute or GenerationSpec)
– EDIT Added in version 2.1.3