Skip to content

Process: include prefix in required-key error - #230

Open
team-humaki wants to merge 1 commit into
kelseyhightower:masterfrom
team-humaki:fix/required-key-include-prefix
Open

team-humaki wants to merge 1 commit into
kelseyhightower:masterfrom
team-humaki:fix/required-key-include-prefix

Conversation

@team-humaki

Copy link
Copy Markdown

Use the prefixed lookup key in the missing-required error so a field tagged envconfig:"BAR" with prefix env_config reports ENV_CONFIG_BAR, not BAR.

Fixes #199

Use the prefixed lookup key so envconfig:"BAR" with prefix env_config
reports ENV_CONFIG_BAR, not BAR.

Fixes kelseyhightower#199
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.

Error message from required field should include prefix if specified.

1 participant