Auto generate classes to represent PickList values #5746
SalesforceBobLightning
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To help avoid magic strings in Apex code and to help when removing picklist values from an org, it would be great if the SalesforceDX VSCode extension auto generated a class to represent picklist values, like below:
These classes could get generated / re-generated each time the
Refresh SObject Definitionscommand gets run.Beta Was this translation helpful? Give feedback.
All reactions