-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
researchNeed to research the questionNeed to research the question
Description
Hello!
I'm not sure about these topics, so I post them here only fyi.
- If I understand the things right, then https://github.com/DevTeam/Pure.DI/blob/master/src/Pure.DI/SourceGenerator.cs#L27 means you are collecting all syntax nodes inside a whole source tree of the project (solution?). Looks like it will have scaling problems. What are performance of this approach? Is there any performance benefits in comparison with old
ISourceGenerator? - Again, If I not missed something, pushing GeneratorSyntaxContext into generator pipeline https://github.com/DevTeam/Pure.DI/blob/master/src/Pure.DI/SourceGenerator.cs#L28 renders the generator to be completely non incremental. Additional context can be found here: The source generator is completely non incremental zompinc/sync-method-generator#20
As an author of similar library https://github.com/lsoft/DpDtInject I found no way to effiently apply incremental source generators for the task of DI. If I wrong, could you share where did I miss?
Good luck! Thanks!
NikolayPianikov, YoshihiroIto and msin
Metadata
Metadata
Assignees
Labels
researchNeed to research the questionNeed to research the question