Skip to content

Commit

Permalink
Fix linker warning. (#5627)
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriktsarpalis authored Nov 12, 2024
1 parent c77e368 commit 6487428
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ JsonNode TransformSchemaNode(JsonSchemaExporterContext ctx, JsonNode schema)
_ = objSchema.TryGetPropertyValue(RequiredPropertyName, out JsonNode? required);
if (required is not JsonArray { } requiredArray || requiredArray.Count != propertiesObj.Count)
{
requiredArray = [.. propertiesObj.Select(prop => prop.Key)];
requiredArray = [.. propertiesObj.Select(prop => (JsonNode)prop.Key)];
objSchema[RequiredPropertyName] = requiredArray;
}
}
Expand Down

0 comments on commit 6487428

Please sign in to comment.