Skip to content

Update Mongodb And Fix save twice bug.

Latest
Compare
Choose a tag to compare
@trapcodeio trapcodeio released this 26 Aug 04:11
· 20 commits to v2 since this release

Updated Packages

Updated mongodb to version 4.9.0

Save Twice Bug

An error occurs when you generate id and save twice for example

const user = User.make({}).generateId();

await user.save()
user.data.username = "changed"

await user.save() // ❌ will throw a duplicate id.

This has been fixed.