dhis2 / json-tree

A lazily parsed JSON object tree library
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

feat: pass Validation model to custom Validators #54

Open jbee opened 8 months ago

jbee commented 8 months ago

A custom validator might want to implement its behaviour based on the effective @Validation properties aggregated in a PropertyValidation model. Maybe PropertyValidation should implement the @Validation interface so the effective configuration can be passed to custom Validators in their constructor?

Useful candidates: