bradamelton / saberfin.io

Issues for the https://saberfin.io website
0 stars 0 forks source link

Mongo serialization error #11

Closed bradamelton closed 7 months ago

bradamelton commented 2 years ago

Can't serialize a nested item: System.ArgumentException: .NET type SaberFin.Services cannot be mapped to a BsonValue. at MongoDB.Bson.BsonTypeMapper.MapToBsonValue(Object value) at MongoDB.Bson.BsonDocument.AddRange(IEnumerable1 dictionary) at MongoDB.Bson.BsonDocument.AddRange(Dictionary2 dictionary) at DBu.DBuMongoProvider.Save(Object obj, String[] searchProperties) in /mnt/f/github/DBu/DBu.Core/Providers/DBuMongoProvider.cs:line 241. This won't be added to the updates.

bradamelton commented 7 months ago

I think I fixed this. I will close unless I see it again.