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
Copy file name to clipboardexpand all lines: src/libs/AutoSDK/Sources/Sources.JsonConverters.AnyOf.cs
+1-1
Original file line number
Diff line number
Diff line change
@@ -142,7 +142,7 @@ public override void Write(
142
142
{(i==0?"":"else ")}if (value.Is{x.Name})
143
143
{{
144
144
{(anyOfData.IsTrimming?$@"
145
-
var typeInfo = typeInfoResolver.GetTypeInfo(typeof({x.Type.CSharpTypeWithoutNullability}), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<{x.Type.CSharpTypeWithNullability}> ??
145
+
var typeInfo = typeInfoResolver.GetTypeInfo(typeof({x.Type.CSharpTypeWithoutNullability}), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<{x.Type.CSharpTypeWithNullabilityForNonValueTypes}> ??
146
146
throw new global::System.InvalidOperationException($""Cannot get type info for {{typeof({x.Type.CSharpTypeWithoutNullability}).Name}}"");
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/anthropic/SystemTextJson/_#JsonConverters.AnthropicBeta.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/assemblyai/SystemTextJson/_#JsonConverters.LemurActionItemsResponse.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/assemblyai/SystemTextJson/_#JsonConverters.LemurResponse.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/assemblyai/SystemTextJson/_#JsonConverters.LemurSummaryResponse.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/assemblyai/SystemTextJson/_#JsonConverters.LemurTaskResponse.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/assemblyai/SystemTextJson/_#JsonConverters.TranscriptWebhookNotification.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/cohere/SystemTextJson/_#JsonConverters.GenerateStreamedResponse.g.verified.cs
Copy file name to clipboardexpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/cohere/SystemTextJson/_#JsonConverters.StreamedChatResponse.g.verified.cs
0 commit comments