Skip to content

Commit

Permalink
fix #1728
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanheath committed Sep 7, 2024
1 parent 9bf8f69 commit da89c42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public class JsonInheritanceConverter<TBase> : System.Text.Json.Serialization.Js
return attribute.Type;
}

return objectType;
return null;
}

private string GetSubtypeDiscriminator(System.Type objectType)
Expand Down

0 comments on commit da89c42

Please sign in to comment.