apex-trigger-actions-framework icon indicating copy to clipboard operation
apex-trigger-actions-framework copied to clipboard

Reduce field size

Open yippie opened this issue 1 year ago • 1 comments
trafficstars

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

yippie avatar Jun 27 '24 16:06 yippie

Please sign the CLA so I can review these contributions.

https://github.com/mitchspano/apex-trigger-actions-framework/blob/main/docs/contributing.md

mitchspano avatar Jul 01 '24 02:07 mitchspano