diff --git a/Directory.Packages.props b/Directory.Packages.props index ccc9085d4..4ee01973c 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,8 +1,8 @@ - 11.0.0-preview.3.26155.101 - 11.0.0-preview.3.26155.101 - 11.0.0-preview.3.26155.101 + 11.0.0-preview.3.26160.112 + 11.0.0-preview.3.26160.112 + 11.0.0-preview.3.26160.112 10.0.0 diff --git a/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs b/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs index 4908b1ee8..2d9bf1df8 100644 --- a/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs +++ b/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs @@ -238,8 +238,8 @@ public NpgsqlTypeMappingSource( { "decimal", [_numeric, _bigInteger, _numericAsFloat, _numericAsDouble] }, { "money", [_money] }, { "text", [_text] }, - { "jsonb", [_jsonbString, _jsonbDocument, _jsonbElement] }, - { "json", [_jsonString, _jsonDocument, _jsonElement] }, + { "jsonb", [_jsonbString, _jsonbDocument, _jsonbElement, _jsonbOwned] }, + { "json", [_jsonString, _jsonDocument, _jsonElement, _jsonOwned] }, { "jsonpath", [_jsonpath] }, { "xml", [_xml] }, { "citext", [_citext] },