Such a change can be made using sfdx force:source:push
, presumably because there isn't any risk of data loss (mentioned in Notes on Changing Custom Field Types).
Can this change be packaged and orgs successfully upgraded?
Such a change can be made using sfdx force:source:push
, presumably because there isn't any risk of data loss (mentioned in Notes on Changing Custom Field Types).
Can this change be packaged and orgs successfully upgraded?
I tested this in a throwaway namespace and packaging org. After adding a Number(16,2)
field to a 1GP managed package and performing a managed release, I was unable to change the field type from the UI or via the Metadata API.