You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
The way Salesforce documents enums in the Apex Documentation, is they get their own page and table listing, where each value is listed along with a full description. For ApexDoc to support this, enums would need to be formatted something like:
/**
* @description contains possible actions for a trigger.
*/
public enum triggerAction {
/** @description value for the beforeInsert trigger event. */
beforeInsert,
/** @description value for the beforeUpdate trigger event. */
beforeUpdate,
/** @description value for the beforeDelete trigger event. */
beforeDelete,
// etc!!
afterInsert, afterUpdate, afterDelete, afterUndelete}
none of the NPSP triggers are in this verbose format. they all are typically one one line like:
public enum triggerAction {beforeInsert, beforeUpdate, beforeDelete, afterInsert, afterUpdate, afterDelete, afterUndelete}
So I think this enhancement is low priority to implement. note that since the enum is listed as a property, the user can click on its signature and be taken to the actual enum declaration on the hosted source (ie, gitHub).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
should they be in a separate section?
The text was updated successfully, but these errors were encountered: