From 056e37d0fb4afe4203bc35cac545e3c033cf18e9 Mon Sep 17 00:00:00 2001 From: Swopnil Dangol Date: Tue, 9 Sep 2025 11:27:02 +0100 Subject: [PATCH] Made the message attribute binaryValue and stringValue nullable --- packages/parser/src/schemas/sqs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/parser/src/schemas/sqs.ts b/packages/parser/src/schemas/sqs.ts index 7c7df01731..d601d56efd 100644 --- a/packages/parser/src/schemas/sqs.ts +++ b/packages/parser/src/schemas/sqs.ts @@ -9,8 +9,8 @@ const SqsMsgAttributeDataTypeSchema = z.union([ ]); const SqsMsgAttributeSchema = z.object({ - stringValue: z.string().optional(), - binaryValue: z.string().optional(), + stringValue: z.string().optional().nullable(), + binaryValue: z.string().optional().nullable(), stringListValues: z.array(z.string()).optional(), binaryListValues: z.array(z.string()).optional(), dataType: SqsMsgAttributeDataTypeSchema,