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

Support config injection #48

Open
Emily-Jiang opened this issue Jan 27, 2022 · 1 comment
Open

Support config injection #48

Emily-Jiang opened this issue Jan 27, 2022 · 1 comment
Milestone

Comments

@Emily-Jiang
Copy link
Contributor

As an application or framework developer, I expect to be able to use DI mechanisms to acquire strongly-typed configuration values, so that I can easily acquire configuration relevant to the component without having to use the programmatic API.

Source: #27 (comment)

@Emily-Jiang Emily-Jiang added this to the 1.0 milestone Feb 10, 2022
@hantsy
Copy link

hantsy commented Nov 10, 2022

Hope also consider record.

@ConfigMapping("customer")
public record Customer( String name, int age) {}

@radcortez radcortez modified the milestones: 1.0, 1.x Jun 27, 2024
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

No branches or pull requests

3 participants