surgicalcoder / BlazorInteropGenerator

Generates Blazor -> Javascript strongly typed interop methods.
MIT License
15 stars 2 forks source link

IIncrementalGenerator vs ISourceGenerator #3

Closed ignatandrei closed 1 week ago

ignatandrei commented 1 month ago

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

surgicalcoder commented 1 week ago

@ignatandrei Fixed with v2.0 which has just been released, thanks for the suggestion! :)

ignatandrei commented 1 week ago

https://ignatandrei.github.io/RSCG_Examples/v2/docs/GoLive.Generator.BlazorInterop