-
-
Notifications
You must be signed in to change notification settings - Fork 14
Refactor code to implement IncrementalGenerator #67
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the FluentBuilderSourceGenerator to implement the IIncrementalGenerator interface instead of the older ISourceGenerator pattern. This modernizes the source generator architecture to use the newer, more efficient incremental generation model introduced in Roslyn.
- Updates from ISourceGenerator to IIncrementalGenerator pattern for better performance and caching
- Refactors syntax receiver logic to use incremental syntax providers
- Adds diagnostic reporting with specific error/info codes for better user feedback
Reviewed Changes
Copilot reviewed 83 out of 83 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| FluentBuilderSourceGenerator.cs | Core refactor from ISourceGenerator to IIncrementalGenerator with new pipeline setup |
| FluentBuilderSourceGeneratorTests.cs | Updates test methods to work with new generator interface and adds diagnostic validation |
| SyntaxReceiver files | Converts from receiver pattern to static methods for syntax node processing |
| Wrapper files | Removes context wrapper abstraction in favor of direct compilation helper |
| Various generator files | Updates to support new architecture and remove context dependencies |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
No description provided.