Skip to content

Commit

Permalink
Merge pull request #2332 from Luigi6821/patch-1
Browse files Browse the repository at this point in the history
Thanks @Luigi6821!!
  • Loading branch information
mbdavid authored Jul 20, 2023
2 parents d6038bf + 6ec64c2 commit a384eb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LiteDB/Client/Mapper/BsonMapper.Deserialize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ private object DeserializeList(Type type, BsonArray value)
}
else
{
var addMethod = type.GetMethod("Add");
var addMethod = type.GetMethod("Add", new Type[] { itemType });

foreach (BsonValue item in value)
{
Expand Down Expand Up @@ -317,4 +317,4 @@ private object DeserializeAnonymousType(Type type, BsonDocument value)
return obj;
}
}
}
}

0 comments on commit a384eb0

Please # to comment.