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

Make WebManager.Generator faster #3

Open
Codelisk opened this issue Sep 3, 2024 · 0 comments
Open

Make WebManager.Generator faster #3

Codelisk opened this issue Sep 3, 2024 · 0 comments

Comments

@Codelisk
Copy link
Owner

Codelisk commented Sep 3, 2024

Read how to improve performance of code generators
https://andrewlock.net/creating-a-source-generator-part-9-avoiding-performance-pitfalls-in-incremental-generators/

try to make WebManager.Generator and WebManager.Generator.Contracts faster

you can also try to find a new way to create the contracts because currently it works with a direct reference to WebManager.Generator which is not so nice. If possible keep it so that WebManager.Generator.Contracts can be used as a seperated Generator so that its still possible have the Contracts and the implementation of the manager in 2 different projects. If not halb so schlimm.

Thats how you can debug the generator
https://github.com/JoanComasFdz/dotnet-how-to-debug-source-generator-vs2022

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