You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Write custom checks on the application start
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
Any other solution or combination of the above.
The text was updated successfully, but these errors were encountered:
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:
@Valid
and@Validation
annotations. Related article. Just beware, that we use@ConstructorBinding
that may not work with@ConfigurationProperties
The text was updated successfully, but these errors were encountered: