Conversation
Review Summary by QodoReplace magic strings with symbol-based type comparisons in analyzers
WalkthroughsDescription• Replace string-based type comparisons with symbol-based comparisons • Add KnownTypeSymbols cache for efficient symbol resolution per compilation • Implement refactoring-safe analyzer with fallback string comparison • Improve code generator robustness with symbol-based attribute detection Diagramflowchart LR
A["String-based<br/>Type Matching"] -->|"Refactor to"| B["Symbol-based<br/>Comparison"]
B -->|"with Fallback"| C["String Comparison<br/>if Symbol Unavailable"]
D["KnownTypeSymbols<br/>Cache"] -->|"Resolves Once<br/>Per Compilation"| B
E["EventUsageAnalyzer"] -->|"Uses"| D
F["TypeMappingsGenerator"] -->|"Uses"| B
G["ConsumeContextConverterGenerator"] -->|"Uses"| B
File Changes1. src/Core/gen/Eventuous.Shared.Generators/Constants.cs
|
Code Review by Qodo
1. m and ct names
|
No description provided.