charslaw / Pando

Pando serializes and tracks the history of a state tree
MIT License
2 stars 0 forks source link

Consider extracting source gen marker attributes to a netstandard 2.0 csproj that is used by both the source generator and the core pando project #57

Open schultzcole opened 2 years ago

schultzcole commented 2 years ago

This would have the benefit that we could use the actual type to get the name, rather than hard coding a string in the source generator.

schultzcole commented 2 years ago

Blocked because adding a project reference to a source generator is apparently not easily possible. This discussion comment works for PackageReferences but not project references: https://github.com/dotnet/roslyn/discussions/47517#discussioncomment-64145