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

Mongo storage: If the object is new (version is 1), set the _c date to now #662

Merged
merged 2 commits into from
Jan 10, 2025

Conversation

ateska
Copy link
Contributor

@ateska ateska commented Jan 9, 2025

If the object was created using Mongo asab.storage upsertor without a version, the _c attribute was not filled.
This MR changes that and _c is set when the object is created without that.

@ateska ateska added the bug Something isn't working label Jan 9, 2025
@ateska ateska requested a review from byewokko January 9, 2025 16:00
@ateska ateska self-assigned this Jan 9, 2025
Copy link
Collaborator

@byewokko byewokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good, works for me

@ateska ateska merged commit e026b19 into master Jan 10, 2025
10 checks passed
@ateska ateska deleted the fix/mongo-storage branch January 10, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants