Skip to content

Commit

Permalink
fix: iterate over record fields in serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Weakky committed Oct 26, 2023
1 parent 8b78f21 commit e2be94c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/core/src/response_ir/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ fn serialize_objects_with_relation(
let mut object_mapping = UncheckedItemsWithParents::with_capacity(result.records.records.len());

let model = result.model;
let db_field_names = result.fields;
let db_field_names = result.records.field_names;
let nested = result.nested;

let fields: Vec<_> = db_field_names
Expand Down

0 comments on commit e2be94c

Please sign in to comment.