When trying to upgrade exposed LWC in a managed package I have faced the following limitations related to their configuration file.
-You can not remove/rename a previous existing property.
-You can not change the type (f.i: from Integer to String) of a previous existing property.
-You can not remove requiredness of a previous existing property.
I understad the first 2 of them and actually they make sense. However, about the 3rd one, I had some properties with
required="true" that I changed to
required="false" and are not reporting errors. The curious thing is the error I am receiving is when changing a property from
"required="true". I find this strange since the problem seems to be just the opposite of what the error message is saying:
You can’t remove requiredness for the property tag named 'dummyProperty' specified in targetConfig lightning__RecordPage. The component is part of a managed package.
I would appreciate some clarifications around this and, besides, if someone could provide a list of all these kind of limitations I would find that really usefull since I did not find any detailed documentation about that.