diff --git a/src/entity.js b/src/entity.js index 9732f010..4a347ff9 100644 --- a/src/entity.js +++ b/src/entity.js @@ -640,10 +640,7 @@ function asObject(entity, shallow) { } }); - // We don't send along empty arrays. - if (asObjects.length > 0) { - pojo[propertyName] = asObjects; - } + pojo[propertyName] = asObjects; }); return pojo;