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

Fix initialization of ValidatedService.validatorFactory #1784

Merged
merged 3 commits into from
Feb 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix trait ValidatedService (broken validatorFactory initialization)
  • Loading branch information
guillermocalvo committed Jan 31, 2024
commit e6929f20ba5041206302d5c1668819f5d6541eb5
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ trait ValidatedService<T> extends Service<T> {
private ValidatorFactory validatorFactory

private Map<Method, ExecutableValidator> executableValidatorMap = new LinkedHashMap<Method, ExecutableValidator>().withDefault {
validatorFactory.getValidator().forExecutables()
getValidatorFactory().getValidator().forExecutables()
}

/**
Expand Down
Loading