Skip to content

Adopt ConfigSpec and PreferenceSpec in BootStrap#838

Merged
lbwexler merged 2 commits intodevelopfrom
ensure-required-spec-classes
Apr 27, 2026
Merged

Adopt ConfigSpec and PreferenceSpec in BootStrap#838
lbwexler merged 2 commits intodevelopfrom
ensure-required-spec-classes

Conversation

@amcclain
Copy link
Copy Markdown
Member

@amcclain amcclain commented Apr 8, 2026

Summary

  • Convert ensureRequiredConfigsCreated() and ensureRequiredPrefsCreated() calls in BootStrap from untyped Map literals to typed ConfigSpec and PreferenceSpec classes introduced in hoist-core.
  • Adopt corrected notes (plural) field name on PreferenceSpec, fixing the legacy note mismatch.

Companion hoist-core PR: xh/hoist-core#538

Test plan

  • Run Toolbox with companion hoist-core branch — confirm configs/prefs seed without deprecation warnings
  • Verify Admin Console config and preference editors still load and function correctly

🤖 Generated with Claude Opus 4.6

Convert ensureRequiredConfigsCreated() and ensureRequiredPrefsCreated() calls from untyped Map literals to typed spec classes introduced in hoist-core.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts:
#	grails-app/init/io/xh/toolbox/BootStrap.groovy
@lbwexler lbwexler marked this pull request as ready for review April 27, 2026 23:31
@lbwexler lbwexler merged commit b73a293 into develop Apr 27, 2026
7 checks passed
@lbwexler lbwexler deleted the ensure-required-spec-classes branch April 27, 2026 23: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.

2 participants