Skip to content

Commit cefcbdb

Browse files
authored
fix(parser): updated the binaryValue and stringValue in the SqsMsgAttributeSchema to nullable (#4450)
1 parent 91a1ec4 commit cefcbdb

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)