Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix binding #415

Closed
wants to merge 0 commits into from
Closed

Conversation

rocketraman
Copy link
Contributor

@rocketraman rocketraman commented Apr 4, 2024

Modify ConfigLoader and ConfigParser so that the config is parsed only a single time. ConfigLoader.configBinder() can now be called to obtain the instance of a new class ConfigBinder, which can in turn be used to bind the already parsed config to multiple data classes, given a prefix.

This follows the general approach as suggested by @cloudshiftchris.

This PR is stacked on top of #414 and will be rebased and moved out of draft once that PR is merged.

Replaced by PR #422.

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.

1 participant