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

Feat: preserve dates #361

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Feat: preserve dates #361

merged 2 commits into from
Jan 19, 2024

Conversation

Meldiron
Copy link
Contributor

In some scenarios (migration) you want to create/update a document, but don't want the $createdAt or $updatedAt to change.

I added a parameter to allow control of this. Default stays the same as it is, to prevent breaking changes.

Copy link
Member

@abnegate abnegate left a comment

Choose a reason for hiding this comment

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

Let's use an instance variable instead of adding new parameters. Looks like tests are failing too

@abnegate abnegate merged commit c0a4541 into main Jan 19, 2024
4 of 6 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