Closed luizfbicalho closed 2 months ago
@luizfbicalho I've asked @TheCakeMonster for input here. I am not sure this code is current or valid anymore. It was never released into production.
@rockfordlhotka You are probably right that it isn't entirely current, but only in the sense that I have not checked it recently. I think it's a useful facility, so it's worth getting it released, unless there is a more modern replacement? I thought I saw an email of a merged PR for being able to serialize POCO types go past in the whizz of emails there have been in the past few days, but I can't keep up with them all at the moment.
The idea of switching to incremental source generation is a good one. It's quite a lot more efficient, I think, so it improves the build and development experience. @JasonBock is, of course, much more knowledgeable in this area than me; I simply did the grunt work, including changing it after his review.
There were a couple of reasons why it didn't get released:
A worthy set of changes, in my opinion. However, I can't approve them as such, just because I don't have experience of incremental generators. However, I know a man who does @JasonBock ;-)
It's funny that I studied his videos to implement this generator
Is there anything else I can do about this PR?
Not right now. I'll review it when I get a chance.
I guess what I'm looking for is a readme.md in the
Source/
Csla.Generators` directory that tells someone how to get started.
I just added it,let me know what do you think of it
Closes #3068
@rockfordlhotka I added nullable reference types on the generator, please check if the changes to enable nullable that I added are ok for you