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

Add config validation #24

Open
Tracked by #43
dk1844 opened this issue Mar 30, 2023 · 0 comments
Open
Tracked by #43

Add config validation #24

dk1844 opened this issue Mar 30, 2023 · 0 comments

Comments

@dk1844
Copy link
Collaborator

dk1844 commented Mar 30, 2023

Background

Add config validation logic to ensure that the configuration values provided are sensible and LGW can work with these.

Feature

This may be something completely custom, but it would be nice if we could use some already established validation options, too.

Solution Ideas:

  1. Write custom checks on the application start
  2. Consider leveraging existing JSR-303 validation approach with Springboot's @Valid and @Validation annotations. Related article. Just beware, that we use @ConstructorBinding that may not work with @ConfigurationProperties
  3. Any other solution or combination of the above.
@TheLydonKing TheLydonKing self-assigned this May 18, 2023
@TheLydonKing TheLydonKing removed their assignment Jun 6, 2023
@AnilPinarOzdemir AnilPinarOzdemir self-assigned this Jun 28, 2023
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