diff --git a/src/serializer.ts b/src/serializer.ts index f18e75c..a39cd64 100644 --- a/src/serializer.ts +++ b/src/serializer.ts @@ -350,7 +350,7 @@ class IncludedCollection< } if (!Array.isArray(entityRelationship)) { - this.addSingle(entityRelationship, field, options); + this.addSingle(entityRelationship, fullFieldPath, options); continue; }