Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update updated_at while updating user details in user document #205

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

MehulKChaudhari
Copy link
Member

@MehulKChaudhari MehulKChaudhari commented Mar 23, 2024

Date: 24/03/2024

Developer Name: Mehul Kiran Chaudhari


Issue Ticket Number

Real-Dev-Squad/website-backend#1929

Description

update the updated_at field in the user document which says when the document was updated latest.

Documentation Updated?

  • Yes
  • No

Under Feature Flag

  • Yes
  • No

Database Changes

  • Yes
  • No

Breaking Changes

  • Yes
  • No

Development Tested?

  • Yes
  • No

Test Coverage

Screenshot 1

@prakashchoudhary07 prakashchoudhary07 merged commit 56c0206 into develop Mar 25, 2024
2 checks passed
@prakashchoudhary07 prakashchoudhary07 deleted the update-updatedAt-user-document branch March 25, 2024 19:55
@prakashchoudhary07
Copy link
Contributor

Ideally, this should be updated from a single point, i.e db updates should be handled from a single service

@MehulKChaudhari
Copy link
Member Author

MehulKChaudhari commented Mar 25, 2024

Ideally, this should be updated from a single point, i.e db updates should be handled from a single service

Yes Right, But in this repo, we have api's according to the folder structure so we don't use any function across folders. And we are only using it once in a folder.

@lakshayman correct me if I am wrong

@MehulKChaudhari MehulKChaudhari mentioned this pull request Mar 25, 2024
10 tasks
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.

4 participants