Kamva / mgm

Mongo Go Models (mgm) is a fast and simple MongoDB ODM for Go (based on official Mongo Go Driver)
Apache License 2.0
754 stars 63 forks source link

not enough arguments in call to model.DateFields.Creating and Saving since v3.4.0 #51

Closed srPuebla closed 3 years ago

srPuebla commented 3 years ago

Describe the bug Since i updated lib from v3.3.1 to v3.4.0, i get the error: not enough arguments in call to model.DateFields.Creating

To Reproduce

Expected behavior

Screenshots

Environment (please complete the following information):

Additional context I think that the problem is on field.go, in this part:

field.go

mehran-prs commented 3 years ago

Thanks @srPuebla Fixed.