Skip to content

fix : Missing business validation on pet birthDate (future or unrealistic dates allowed)#295

Merged
vfedoriv merged 1 commit intospring-petclinic:masterfrom
Rajshri-Firke:feature/pet-birthdate-validation
Mar 15, 2026
Merged

fix : Missing business validation on pet birthDate (future or unrealistic dates allowed)#295
vfedoriv merged 1 commit intospring-petclinic:masterfrom
Rajshri-Firke:feature/pet-birthdate-validation

Conversation

@Rajshri-Firke
Copy link
Copy Markdown
Contributor

@Rajshri-Firke Rajshri-Firke commented Mar 1, 2026

This PR fixes issue #288.

Adds custom validation for pet birthdate to ensure it is not in the future and not older than 50 years.
Includes unit tests for the validator.

@Rajshri-Firke Rajshri-Firke changed the title Add custom validation for pet birth date fix : Missing business validation on pet birthDate (future or unrealistic dates allowed) Mar 12, 2026
@vfedoriv vfedoriv merged commit 1847080 into spring-petclinic:master Mar 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants