neozhu / CleanArchitectureCodeGenerator

Generate the application features code class that conforms to the CQRS design pattern in the Application project - Visual Studio.net 2022 Extensions plugin
Other
253 stars 79 forks source link

Errors generated after use #22

Closed DJJones66 closed 4 months ago

DJJones66 commented 1 year ago

I need to do a better test and this was my first go at it. I did install the extension from my compile and didn't download from the Marketplace. (Though made no changes)

I created an entity and then ran the code gen for it created the following issue areas

Needed changes to IApplicationDbContext/ApplicationDbContext was completely unhandled. Needed changes to Permissions was completely unhandled.

MudMenu.Direction and MusMenu.OffsetX seem to be obsolete? (Suggests AcchorOrigin or TransformOrigin instead)

Thanks

Edit: Also the Oncreate function has an error, not had a chance to really debug it yet though I do think it is due to constants and localization at first glance. Issue turned out to be the exception being thrown intentionally because I need to handle the validation.

neozhu commented 1 year ago

I don't know how to modify the class file in the project to extension, if you know, please provide it to me, I also hope to achieve this function to reduce compilation errors

DJJones66 commented 1 year ago

I do not know yet...

neozhu commented 1 year ago

7