You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
ConceptAs<T> values now deserialize from MongoDB regardless of the stored BSON numeric type. Numeric concepts (for example an int-backed concept) read with a representation-specific reader previously threw ReadInt32 can only be called when CurrentBsonType is Int32, not when CurrentBsonType is Double when the stored value had a different numeric representation — which happens when integral values flow through JSON-based pipelines (such as Chronicle projections that materialize event content via ExpandoObject) and are persisted as Double. The value is now read according to its actual stored BSON type and converted to the concept's underlying type.