Skip to content

Config: Expose Herb::Configuration#user_config#1661

Merged
marcoroth merged 2 commits into
mainfrom
user_config
Apr 20, 2026
Merged

Config: Expose Herb::Configuration#user_config#1661
marcoroth merged 2 commits into
mainfrom
user_config

Conversation

@marcoroth

@marcoroth marcoroth commented Apr 20, 2026

Copy link
Copy Markdown
Owner

This pull request exposes Herb::Configuration#user_config, which returns only the values explicitly set by the user in .herb.yml, separate from the merged config that includes defaults.

This is useful for distinguishing whether a user explicitly configured a value versus relying on a default, for example, ReActionView's railtie can warn when framework or template_engine aren't explicitly set in .herb.yml, without being confused by default values.

@pkg-pr-new

pkg-pr-new Bot commented Apr 20, 2026

Copy link
Copy Markdown
npx https://pkg.pr.new/@herb-tools/formatter@1661
npx https://pkg.pr.new/@herb-tools/language-server@1661
npx https://pkg.pr.new/@herb-tools/linter@1661

commit: 6e05ace

@github-actions

github-actions Bot commented Apr 20, 2026

Copy link
Copy Markdown

🌿 Interactive Playground and Documentation Preview

A preview deployment has been built for this pull request. Try out the changes live in the interactive playground:


🌱 Grown from commit 6e05ace


✅ Preview deployment has been cleaned up.

@marcoroth marcoroth merged commit d483ec5 into main Apr 20, 2026
32 of 44 checks passed
@marcoroth marcoroth deleted the user_config branch April 20, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant