Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Can I create my own library which provides templates and NTypewriter? #129

Open
leonardoporro opened this issue Dec 17, 2024 · 1 comment

Comments

@leonardoporro
Copy link

Hi! First of all, your library is outstanding... awesome work.

I want to create a library that automatically maps CQRS commands (decorated with some attributes) to endpoint using ASP.NET minimal API.

Forcing users to add NTypewriter + the templates + the extensions needed sounds like overkilling for some developers.

Is there any way to create my own source generator which introduce custom predefined templates?
I can download the project and inject my files, probably here but I'd like to know if this can be a feature... I don't know, maybe scanning other assemblies for custom configuration.

Again, awesome job. Thank you.

@leonardoporro
Copy link
Author

I guess I can create a source generator and use https://github.com/NeVeSpl/NTypewriter/blob/master/DocumentationGenerator/Program.cs
,,,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant