-
Notifications
You must be signed in to change notification settings - Fork 976
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
v44 update, reduce MetadataService file size, support non-virtual types #227
base: master
Are you sure you want to change the base?
Conversation
2) attempt to generate a smaller MetadataService class (see details below) 3) Support for nested inheritance and non-virtual types 4) Misc updates, PMD cleanup, adding squirly braces, etc. in an effort to create a smaller class file (and stay under the 1mb limit): * use 'NS' instead of 'SOAP_M_URI' for the static variable name, saves 8 bytes per use * use tabs instead of spaces * replaced some more instances where the namespace URL was used (such as in the _info array) put static final variables at top of class that specify 'MetadataServiceImported' and 'MetadataService' classes so it is easier to change if needed
Hmm, the diff in github isn't great. It looks like a lot more change than there really is. If you ignore differences in whitespace, it actually looks a lot cleaner. Let me know if I did this right, or if I need to make changes and re-submit. |
@rmccu I've approved but this code doesn't deploy for me. It looks like MetadataServiceExamples and MetadataServiceTest both need updating to reflect the changed types. Also I'm not sure why Metadata.Picklist no longer exists.
|
in an effort to create a smaller class file (and stay under the 1mb limit):
put static final variables at top of class that specify 'MetadataServiceImported' and 'MetadataService' classes so it is easier to change if needed