CustomerModel has one property scoped as internal preventing factory method override...

1 週間 前
Does the AvatarUrl property need to be scoped as internal? Could it be changed to public in the next version?

I am having an issue overloading the PrepareCustomerListModelAsync method in the CustomerModelFactory class due to this property's scope.

// CustomerModel
// public string AvatarUrl { get; internal set; }

Thank you
1 週間 前
I looked at the code and didn’t find any reason for this field not to be public, in version 4.70 it will become public, here is the corresponding commit. Thank you for bringing this to our attention.

rhshc wrote:
Does the AvatarUrl property need to be scoped as internal? Could it be changed to public in the next version?

I am having an issue overloading the PrepareCustomerListModelAsync method in the CustomerModelFactory class due to this property's scope.

// CustomerModel
// public string AvatarUrl { get; internal set; }

Thank you