Skip to content

refactor: deduplicate loadConfig by delegating to resolveContext#150

Merged
MattDevy merged 1 commit into
mainfrom
refactor/load-config
Apr 14, 2026
Merged

refactor: deduplicate loadConfig by delegating to resolveContext#150
MattDevy merged 1 commit into
mainfrom
refactor/load-config

Conversation

@MattDevy
Copy link
Copy Markdown
Contributor

Summary

Sorry @margaretjgu, I was trigger happy merging #148 before addressing your feedback. This follows up on your review comment.

  • loadConfig now delegates to resolveContext instead of duplicating the context-to-ResolvedConfig mapping
  • Builds a minimal ConfigFile from the already-validated pieces and passes it through

Test plan

  • All 49 existing loader tests pass with no changes

loadConfig duplicated the context-to-ResolvedConfig mapping that
resolveContext already handles. Build a minimal ConfigFile from the
validated pieces and pass it through instead.
@MattDevy MattDevy requested a review from margaretjgu April 14, 2026 18:29
@MattDevy MattDevy merged commit c092510 into main Apr 14, 2026
18 checks passed
@MattDevy MattDevy deleted the refactor/load-config branch April 14, 2026 19:32
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.

3 participants