I have a global class in a managed package and want to change it from with to without sharing in a new release.
Is this possible? Could I do this in a patch?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
According to the documentation, you can edit API version and the code of the class, but not the name. Given that
with sharing and
without sharing is not a part of a name, I would say that you can change it.