nopSolutions / nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.
https://www.nopcommerce.com
Other
9.14k stars 5.25k forks source link

CustomProperties have been marked as JsonIgnore #7106

Closed poyker closed 4 months ago

poyker commented 5 months ago

We use this property to extend the models by attaching data to them and passing the models to javascript. With the latest changes (see below) we are not able to do that anymore.

Is there an alternative solution for us now if you have made this on purpose?

How could we pass additional data to the exisiting models and use it in js?

https://github.com/nopSolutions/nopCommerce/blob/8c45936960958d75eac5097bcf69fe88c8d10274/src/Presentation/Nop.Web.Framework/Models/BaseNopModel.cs#L42

codegeek1001 commented 5 months ago

Hi Andrei, this is very critical for us to not lose and we would appreciate backward compatibility to keep Custom Properties.

skoshelev commented 4 months ago

Closed #7106