Open jespertheend opened 1 year ago
At the moment, only objects are supported in union arrays. However, we could possibly support primitive types as long as the types in the array are sufficiently different. For instance StorageType.STRING and StorageType.INT32.
StorageType.STRING
StorageType.INT32
Also doing something like
optionalType: [StorageType.UNION_ARRAY, StorageType.NULL, {myData: StorageType.STRING}
could be useful
At the moment, only objects are supported in union arrays. However, we could possibly support primitive types as long as the types in the array are sufficiently different. For instance
StorageType.STRING
andStorageType.INT32
.