Skip to content

Clean up ExtensionSpecification spreads and mutations#7028

Draft
isaacroldan wants to merge 1 commit into03-17-exploration_make_extensionspecification_a_classfrom
03-17-clean_up_extensionspecification_spreads_and_mutations
Draft

Clean up ExtensionSpecification spreads and mutations#7028
isaacroldan wants to merge 1 commit into03-17-exploration_make_extensionspecification_a_classfrom
03-17-clean_up_extensionspecification_spreads_and_mutations

Conversation

@isaacroldan
Copy link
Contributor

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

How to test your changes?

Post-release steps

Measuring impact

How do we know this change was effective? Please choose one:

  • n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
  • Existing analytics will cater for this addition
  • PR includes analytics changes to measure impact

Checklist

  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've considered possible documentation changes

Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Replace object spread patterns and direct mutations with class methods:
- Add applyRemoteSpecification() to apply remote API overrides
- Add markAsRemoteLoaded() for tests needing the type marker
- Split unifiedConfigurationParserFactory params (spec + remoteSpec)
- Pass uidStrategy at construction via createContractBasedModuleSpecification
- Remove leaked remote fields (name) from test assertions

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@isaacroldan isaacroldan force-pushed the 03-17-exploration_make_extensionspecification_a_class branch from 4048394 to c0b1e0e Compare March 17, 2026 10:25
@isaacroldan isaacroldan force-pushed the 03-17-clean_up_extensionspecification_spreads_and_mutations branch from fcb5b57 to 1777ba0 Compare March 17, 2026 10:25
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.

1 participant