Skip to content

Commit 056e37d

Browse files
committed
Made the message attribute binaryValue and stringValue nullable
1 parent b043c28 commit 056e37d

File tree

1 file changed

+2
-2
lines changed
  • packages/parser/src/schemas

1 file changed

+2
-2
lines changed

packages/parser/src/schemas/sqs.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const SqsMsgAttributeDataTypeSchema = z.union([
99
]);
1010

1111
const SqsMsgAttributeSchema = z.object({
12-
stringValue: z.string().optional(),
13-
binaryValue: z.string().optional(),
12+
stringValue: z.string().optional().nullable(),
13+
binaryValue: z.string().optional().nullable(),
1414
stringListValues: z.array(z.string()).optional(),
1515
binaryListValues: z.array(z.string()).optional(),
1616
dataType: SqsMsgAttributeDataTypeSchema,

0 commit comments

Comments
 (0)