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
This is based on what was reported in #312 (it is also mentioned in the Steps to Reproduce in the linked issue - difference in behaviour is described between step 5 and 7). Validator behaviour should be consistent in a subsequent calls.
Actual Behaviour
Given the misconfigured validation annotation (extra @Constraint(validatedBy = {}) when there is no factory: #312 (comment)):
@Constraint(validatedBy = {})
public @interface ValidInternalId {
}
Expected Behavior
This is based on what was reported in #312 (it is also mentioned in the Steps to Reproduce in the linked issue - difference in behaviour is described between step 5 and 7). Validator behaviour should be consistent in a subsequent calls.
Actual Behaviour
Given the misconfigured validation annotation (extra
@Constraint(validatedBy = {})
when there is no factory: #312 (comment)):Validator throws only for the first call:
Expectation is that same exception should be thrown in the second call in a retry block.
Steps To Reproduce
No response
Environment Information
No response
Example Application
https://github.com/mancze/micronaut-sandbox/tree/repro/constraint-validation-not-foundhttps://github.com/mancze/micronaut-sandbox/tree/repro/constraint-validation-not-found
Version
4.3.8
The text was updated successfully, but these errors were encountered: