Skip to content

Support :root as a root configuration value - #296

Open
Guflly wants to merge 1 commit into
dry-rb:mainfrom
Guflly:238-root-special-value
Open

Support :root as a root configuration value#296
Guflly wants to merge 1 commit into
dry-rb:mainfrom
Guflly:238-root-special-value

Conversation

@Guflly

@Guflly Guflly commented Aug 8, 2026

Copy link
Copy Markdown

Closes #238.

This adds :root support for component directories, component directory namespaces, and container import aliases. Existing empty-string, nil, and symbol forms remain compatible, while unsupported path and alias values now fail early.

Tests:

  • bundle exec rspec spec/unit/config/component_dirs_spec.rb spec/unit/config/namespaces_spec.rb spec/unit/container/import_spec.rb spec/integration/container/auto_registration_spec.rb
  • bundle exec rspec --exclude-pattern spec/integration/container/plugins/bootsnap_spec.rb
  • bundle exec rubocop on the changed Ruby files

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.

Use :root as a special value representing the root of the given context

1 participant