fix(classrooms): validate age ranges on dev #5

Open
kianiadkny wants to merge 1 commit from fix/validation-on-dev into dev
Owner

Summary

  • Reject invalid classroom age ranges before create and edit mutations.
  • Normalize blank optional ages to NULL.
  • Add database constraint migration for the isolated dev database.

Verification

  • node --test apps/frontend/test/classroom-age-validation.test.mjs (5/5)
  • npm run build --prefix apps/frontend
  • Independent review passed.

No staging deployment or database change is included.

## Summary - Reject invalid classroom age ranges before create and edit mutations. - Normalize blank optional ages to NULL. - Add database constraint migration for the isolated dev database. ## Verification - `node --test apps/frontend/test/classroom-age-validation.test.mjs` (5/5) - `npm run build --prefix apps/frontend` - Independent review passed. No staging deployment or database change is included.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin fix/validation-on-dev:fix/validation-on-dev
git switch fix/validation-on-dev

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch dev
git merge --no-ff fix/validation-on-dev
git switch fix/validation-on-dev
git rebase dev
git switch dev
git merge --ff-only fix/validation-on-dev
git switch fix/validation-on-dev
git rebase dev
git switch dev
git merge --no-ff fix/validation-on-dev
git switch dev
git merge --squash fix/validation-on-dev
git switch dev
git merge --ff-only fix/validation-on-dev
git switch dev
git merge fix/validation-on-dev
git push origin dev
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kianiadkny/kisima_champions!5
No description provided.