apache / apache/grails-core

Provide support for validating embedded lists

Open
#14,649 0 comments 0 reactions 0 assignees View on GitHub
relates-to: gorm
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

Lists of Objects that are embedded into a domain object do not support validators, due to incompatible types.

When the embedded object is also a Domain object, any validators of the child are ignored. It would be ideal if there was a way to enable the validators of the embedded child objects.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating how validation handles embedded lists of domain objects and where incompatible types cause child validators to be ignored. Done means validators defined on embedded child objects are applied when the parent domain object is validated.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.