Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce field size #150

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yippie
Copy link

@yippie yippie commented Jun 27, 2024

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

@mitchspano
Copy link
Owner

Please sign the CLA so I can review these contributions.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants