abp icon indicating copy to clipboard operation
abp copied to clipboard

ABP Framework do not serialize the datetime based on AbpClockOptions in nested document Mongodb

Open volethanh opened this issue 3 years ago • 3 comments

Hi,

I'm using Abp framework version 5.1.2 and now I've got a problem with a datetime in Mongodb. As I know, abp has released the feature that will serialize datetime based on AbpClockOptions from version 5.x.

Whenever I upsert data to Mongodb, the Datetime field is serialized but the datetime field in nested document will not be serialized . I hope this problem will be fixed soon in version 5.3

thanks

volethanh avatar May 14 '22 16:05 volethanh

hi

  • Steps needed to reproduce the problem.

maliming avatar May 15 '22 05:05 maliming

hi

  • Steps needed to reproduce the problem.

Hi @maliming ,

Just create an entity with a List of another entity then just call repository.InsertAsync to insert it to database.

volethanh avatar May 15 '22 05:05 volethanh

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 30 '22 17:07 stale[bot]