apex-trigger-actions-framework
apex-trigger-actions-framework copied to clipboard
Reduce field size
Custom Metadata Types have a small (10Mb) limit for the total amount you can store in the records. Storage usage is determined by a fixed per record size that is affected by the field size.
Current field size is set to the max for all field types. However, several fields reference API names which have documented max lengths they can be in Salesforce. Any field size greater than this is "wasted" storage as it will never be needed.
Changes
-
Reduced fields referencing Salesforce APIs to the maximum allowed API Name length for the type
-
Updated fieldManagability to SubscriberControlled so that the framework could be included in a managed package.
-
[ ] Tests pass
-
[ ] Appropriate changes to README are included in PR
Please sign the CLA so I can review these contributions.
https://github.com/mitchspano/apex-trigger-actions-framework/blob/main/docs/contributing.md