Records should consider as partial

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
As the c#9 has introduced a new type i.e record and which has also the same feature "partial" like class.  Should not be good to declare the viewmodel's(Nop.Web.Models) records as partial. So that source code customization keeps organized.

NOTE: If the same topics exist earlier please ignore this post.
2 years ago
Do you mean any specific models or in general? Most of them are already marked as partial, the other are most likely just missed.
2 years ago
RomanovM wrote:
Do you mean any specific models or in general? Most of them are already marked as partial, the other are most likely just missed.


Actually specific.
https://github.com/nopSolutions/nopCommerce/blob/develop/src/Presentation/Nop.Web/Models/Catalog/CategorySimpleModel.cs
2 years ago
Thanks for the suggestion. Here is a work item for this.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.