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

Initial values from app.properties when using jdbcStateRepository #1184

Open
amb-sebastian-podgorski-pt opened this issue Apr 16, 2024 · 0 comments

Comments

@amb-sebastian-podgorski-pt

I have JDBCStateRepository and EnumBasedFeatureProvider. I added my feature switch to applicatiom.yaml with initial value set to true but I can see it is not added to db at app initializing and the value on console is false as the default value is taken based on presence of annotation @EnabledByDefault.

Is it possible to set initial value within app properties with jdbc state repo? When I am using InMemoryStateRepo then it is working fine

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

1 participant