Looking to dive deeper into source generators. resource request.

I just personally love them and I am looking to get a deeper understanding of them and how to implement them.

Do you chaps have any good resources? (Articles, nuget packages, etc.)

4 points · 4 comments · view on lemmy.world

4 Comments

First@programming.dev · 2 pts · 3y

Incremental source generators are the new thing, and MS's docs are not fully up to date. Some introductions:

https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md

https://youtu.be/BfYxZ4mfv0E

starman@programming.dev · 2 pts · 3y

I haven't used source generators, but generally .NET documentation alone is a very good resource. Besides that you can also check Nick Chapsas on YouTube, he probably covered this topic already.

Feddinat0r@feddit.de · 2 pts · 3y

An example is on gihtub: Mvvmgen

By a really nice Guy