Skip to content

Investigate behaviour around ObjectSerializer and Commands with objects #349

@Turnerj

Description

@Turnerj

An issue came up when upgrading Cache Tower around the DbCachedEntry and the property of type object. The problem seems to be that when potentially creating an update model, it registers the type with the driver and skips any registration through MongoFramework.

Simply by calling BsonSerializer.LookupSerializer(typeof(object)) can cause this behaviour. I can't change that but maybe I can do something even earlier to register the driver abstraction rules.

Details when the issue was discovered in Cache Tower: TurnerSoftware/CacheTower#231 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions