Litedb: Make BsonMapper.Deserialize public

Created on 5 Sep 2018  路  4Comments  路  Source: mbdavid/LiteDB

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

Most helpful comment

oh, sure.... i miss the context.

Done, will be present in next version

All 4 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sandolkakos picture sandolkakos  路  3Comments

RealBlazeIt picture RealBlazeIt  路  3Comments

thecodrr picture thecodrr  路  4Comments

axelgenus picture axelgenus  路  3Comments

GW-FUB picture GW-FUB  路  3Comments