(no title)
daeken | 2 months ago
Eventually I want to write a good baseline library to use for my source generators -- simplifying finding definitions with attributes, mapping types to System.Type, adding some basic pattern matching for structures -- but haven't found a way to do it that's general enough while being very useful.
zigzag312|2 months ago
I sometimes generate code from plain CLI projects (avoiding source generators altogether), as whole debugging and DX is so much better.
daeken|2 months ago
tryfinally|2 months ago
octopoc|2 months ago
pjmlp|2 months ago
That isn't as cool as Aspire and AI features.
mexicocitinluez|2 months ago
And the documentation is still pretty sparse.
> Eventually I want to write a good baseline library to use for my source generators -- simplifying finding definitions with attributes, mapping types to System.Type, adding some basic pattern matching for structures -- but haven't found a way to do it that's general enough while being very useful.
I'd use it in a heartbeat. The new ForAttributeWithMetadataName function has been a big help, but everything else feels like a totally different language to me.
olidb|2 months ago