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

experimenting with @Value annotation #1647

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aludwiko
Copy link
Contributor

References #1646

@aludwiko aludwiko linked an issue May 29, 2023 that may be closed by this pull request
@github-actions github-actions bot added java-sdk kalix-runtime Runtime and SDKs sub-team labels May 29, 2023
@franciscolopezsancho
Copy link
Contributor

I read a bit about this. Would you consider having a class that can be accessed from any component? I just had a look at @EnableConfigurationProperties? Like this.
Although now that I mention I remember we actively avoid the usage of Spring boot annotation outside of our control. Specifically @Autowired.

@aludwiko
Copy link
Contributor Author

I'm open to all options. For sure we need to provide a way to configure the application in some (Spring-like) way for the code first SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
java-sdk kalix-runtime Runtime and SDKs sub-team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support @Value annotation in Spring SDK
2 participants