The RAD Tool currently generates CreateOrEdit*** classes with all Listed properties instead of just the necessary Create/Update properties.
It’s not a major issue — we can manually remove the unnecessary ones — but automating this could improve efficiency.
One potential fix is updating the condition in
AspNetZeroRadTool\FileTemplates\Test\UnitTest\PartialTemplates.txt.
Replace
"placeholder": "{{Seed_Updated_Value}}", "condition": "{{Property_Listed_Here}} == true",
With:
"placeholder" : "{{Seed_Updated_Value}}", "condition" : "{{Property_CreateOrEdit_Here}} == true",
This might resolve the problem and limit the generated properties accordingly.
Additionally, the tool generates non-nullable filter properties for related navigation entities marked as non-nullable.
However, during filtering, it tries to check their .Value, which causes errors when they’re not assigned.
This could be improved by:
Making such filter properties nullable (e.g., int? instead of int)
3 Answer(s)
-
0
Hi @sailoper
Thank you for your feedback. I have created an issue for this. You can follow the updates here. Have a great day.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I can not see the issues , why?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @sailoper
After logging in with the user who has the plan on the aspnetzero.com website, clicking the manage button under the Account button, you can give permission to the github user you are trying to log in from the Github Members tab on the relevant page.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)