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

IIncrementalGenerator vs ISourceGenerator #80

Open
ignatandrei opened this issue Oct 9, 2024 · 1 comment
Open

IIncrementalGenerator vs ISourceGenerator #80

ignatandrei opened this issue Oct 9, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ignatandrei
Copy link

I maintain a list of Roslyn Source Code Generators at ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG

However, the source generators have been deprecated in favor of the new incremental generators , that allows better performance

See dotnet/roslyn@main/docs/features/incremental-generators.md

However this means passing from ISourceGenerator to IIncrementalGenerator

Could you do that ?

Thanks
Andrei

@StefH StefH self-assigned this Oct 9, 2024
@StefH StefH added the enhancement New feature or request label Oct 9, 2024
@StefH
Copy link
Owner

StefH commented Oct 9, 2024

I maintain a list of Roslyn Source Code Generators at ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG

Can you also include this one: https://github.com/StefH/FluentBuilder

However, the source generators have been deprecated in favor of the new incremental generators , that allows better performance

See dotnet/roslyn@main/docs/features/incremental-generators.md

However this means passing from ISourceGenerator to IIncrementalGenerator

I can do that, currently working on support for Generic Attributes, when that's finished, I'll make this change.


Thanks for the heads up!

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

No branches or pull requests

2 participants