Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate behaviour around ObjectSerializer and Commands with objects #349

Open
Turnerj opened this issue Apr 9, 2023 · 0 comments
Open
Labels
affects-serialization Serialization-related issue minor-change Minor changes required

Comments

@Turnerj
Copy link
Member

Turnerj commented Apr 9, 2023

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)

@Turnerj Turnerj added affects-serialization Serialization-related issue minor-change Minor changes required labels Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-serialization Serialization-related issue minor-change Minor changes required
Projects
None yet
Development

No branches or pull requests

1 participant