Hi,
reading the issue: https://github.com/mbdavid/LiteDB/issues/895
we're also hitting this "edge case". We need to deserialize a BsonValue to our custom type, not the whole document. Would it be possible to make this public, please?
Thank you!
Stefan
Hi @StefanKoell, this one?
https://github.com/mbdavid/LiteDB/blob/v5/LiteDB/Client/Mapper/BsonMapper.Serialize.cs#L32
No, the other direction: Deserialize.
https://github.com/mbdavid/LiteDB/blob/v5/LiteDB/Client/Mapper/BsonMapper.Deserialize.cs#L75
Only the ToObject methods which use a BsonDocument are public. But the Deserialize methods which take a BsonValue are internal.
oh, sure.... i miss the context.
Done, will be present in next version
Thank you!
Most helpful comment
oh, sure.... i miss the context.
Done, will be present in next version