Skip to content

Detect interface container constraints - #37724

Closed
iyuan7 wants to merge 1 commit into
spring-projects:mainfrom
iyuan7:validate-interface-container-constraints
Closed

iyuan7 wants to merge 1 commit into
spring-projects:mainfrom
iyuan7:validate-interface-container-constraints

Conversation

@iyuan7

@iyuan7 iyuan7 commented Nov 19, 2026

Copy link
Copy Markdown

A container-element constraint declared only on an overridden
interface or superclass method did not mark the handler for
method validation. Parameter annotations were already merged
from those methods, but type-use annotations were not.

Fixes gh-37723

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Nov 19, 2026
A container-element constraint declared only on an overridden
interface or superclass method did not mark the handler for
method validation. Parameter annotations were already merged
from those methods, but type-use annotations were not.

Fixes spring-projectsgh-37723

Signed-off-by: iyuan7 <mryuanvip@163.com>
@iyuan7
iyuan7 force-pushed the validate-interface-container-constraints branch from 0e5d6e9 to 6824a4e Compare November 19, 2026 06:55
@bclozel

bclozel commented Nov 19, 2026

Copy link
Copy Markdown
Member

Issue is still being triaged.

@bclozel bclozel closed this Nov 19, 2026
@bclozel bclozel added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Built-in method validation is skipped when container element constraints are declared only on an interface method

3 participants