Merged
Conversation
…nted a pre-save hook to calculate age from dob and save it in the database.
…nted a pre-save hook to calculate age from dob and save it in the database.
sristy17
reviewed
Feb 5, 2025
Owner
sristy17
left a comment
There was a problem hiding this comment.
Great job, @AritraDey-Dev! 🎉 Thank you for submitting your pull request. Your contribution is valuable and we appreciate your efforts to improve our project.
We will promptly review your changes and offer feedback. Keep up the excellent work! Kindly remember to check our contributing guidelines
Contributor
Author
|
@pooranjoyb @sristy17 here is the PR for the issue #99.Please verify and lf me know if you feel any changes required. |
This was referenced Feb 5, 2025
Collaborator
Cool LGTM! @sristy17 Please review and merge if fine. |
pooranjoyb
approved these changes
Feb 5, 2025
sristy17
approved these changes
Feb 7, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes Issue #97
Changes proposed
User Model Update:
agebased on thedob(date of birth) provided during user signup.requiredconstraint from theagefield in the schema to allow it to be calculated dynamically.Database Integration:
ageis saved in the database when a new user is created.UI Adjustments:
dobinput from users, which is necessary for age calculation.Testing:
Check List (Check all the applicable boxes)
Screenshots
Screencast.from.2025-02-05.13-26-13.webm