From cfbf74911b263af986db98f55eb9ab6c587dfe2a Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Sun, 16 Oct 2022 01:20:25 +0200 Subject: [PATCH] Fix ArrayType: support null or undefined values. --- src/Model/Types/ArrayType.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Model/Types/ArrayType.ts b/src/Model/Types/ArrayType.ts index 85ec8ac..6149029 100644 --- a/src/Model/Types/ArrayType.ts +++ b/src/Model/Types/ArrayType.ts @@ -16,6 +16,9 @@ export class ArrayType extends Type ( // Serializing each value of the array. this.valueType.serialize(value) @@ -24,6 +27,9 @@ export class ArrayType extends Type ( // Deserializing each value of the array. this.valueType.deserialize(serializedValue)