-
Notifications
You must be signed in to change notification settings - Fork 4k
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
No documentation on difference between RegisterSourceOutput and RegisterImplementationSourceOutput #57963
Comments
Read Issue #54723 |
@chsienki FYI |
Hello! Incremental generators are mature now. It's time to share a complete documentation about the subject! :) |
Should this be closed? Your change #58344 added the following text:
I'll note that I found this issue because these pages on learn.microsoft.com don't describe the differences:
And
|
In another word use RegisterImplementationSourceOutput to generate codes that will be accessed during run-time (using reflection) Use RegisterSourceOutput: to generate code that you want to have access directly from the IDE (Visual Studio, Rider...) intellisense. ExampleLet say you are generating a c# record Anything else use RegisterImplementationSourceOutput... for example in mappers Links where you can learn more about this |
They have exactly the same API, no doc comments, no documentation at all anywhere, and the name hardly gives it away.
https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md is out of date.
The text was updated successfully, but these errors were encountered: