Rename standard type Java package root - #74
Merged
Conversation
kjonescertinia
approved these changes
Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
com.nawforce.runforcetoio.github.apexdevtools.standardtypes.github/copilot-instructions.mdto use the new package rootTesting
mvn testmvn install -Dgpg.skip=truecom.nawforce.runforce/runforcereferences in this repoUpstream impact
This is intentionally breaking for consumers that dynamically load classes by Java package name. A temporary apex-ls patch of
PlatformTypeDeclaration.platformPackageand theObject$import showed the next required change: apex-ls currently indexes standard-types and sobject-types into one Apex-facing name map, then loads everything through the platform package root. Becausesobject-typesstill publishes undercom.nawforce.runforce.SObjects, apex-ls either needs to retain the Java package root per indexed class or we need to migratesobject-typesto the same new root in a coordinated PR.