@@ -168,18 +168,36 @@ private static ValueComparer CreateStringDictionaryComparer(
168
168
169
169
// This ensures that the element reader/writers are not null when using Cosmos dictionary type mappings, but
170
170
// is never actually used because Cosmos does not (yet) read and write JSON using this mechanism.
171
+ /// <summary>
172
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
173
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
174
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
175
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
176
+ /// </summary>
171
177
#pragma warning disable EF1001
172
- private sealed class PlaceholderJsonStringKeyedDictionaryReaderWriter < TElement > ( JsonValueReaderWriter elementReaderWriter )
178
+ public sealed class PlaceholderJsonStringKeyedDictionaryReaderWriter < TElement > ( JsonValueReaderWriter elementReaderWriter )
173
179
: JsonValueReaderWriter < IEnumerable < KeyValuePair < string , TElement > > > , ICompositeJsonValueReaderWriter
174
180
#pragma warning restore EF1001
175
181
{
176
182
private readonly JsonValueReaderWriter < TElement > _elementReaderWriter = ( JsonValueReaderWriter < TElement > ) elementReaderWriter ;
177
183
184
+ /// <summary>
185
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
186
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
187
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
188
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
189
+ /// </summary>
178
190
public override IEnumerable < KeyValuePair < string , TElement > > FromJsonTyped (
179
191
ref Utf8JsonReaderManager manager ,
180
192
object ? existingObject = null )
181
193
=> throw new NotImplementedException ( "JsonValueReaderWriter infrastructure is not supported on Cosmos." ) ;
182
194
195
+ /// <summary>
196
+ /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to
197
+ /// the same compatibility standards as public APIs. It may be changed or removed without notice in
198
+ /// any release. You should only use it directly in your code with extreme caution and knowing that
199
+ /// doing so can result in application failures when updating to a new Entity Framework Core release.
200
+ /// </summary>
183
201
public override void ToJsonTyped ( Utf8JsonWriter writer , IEnumerable < KeyValuePair < string , TElement > > value )
184
202
=> throw new NotImplementedException ( "JsonValueReaderWriter infrastructure is not supported on Cosmos." ) ;
185
203
0 commit comments