Skip to content

NET type System.Guid cannot be mapped to a BsonValue #91

Open
@AlonKNervio

Description

@AlonKNervio

I get this error:
System.ArgumentException
HResult=0x80070057
Message=.NET type System.Guid cannot be mapped to a BsonValue.
Source=MongoDB.Bson
StackTrace:
at MongoDB.Bson.BsonTypeMapper.MapToBsonValue(Object value)

thrown from
internal static BsonValue? ToBsonValue(this LogEventPropertyValue? value)...

return BsonValue.Create(scalarValue.Value); //exception

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions