-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The eventually-express server for my service won't render the SVG. I tried to input the below esml into this project's playground and it errors with "MyService.RawWebhookLogged: Invalid input". Using the debugger I see that A LOT of zod union parse errors have been thrown.
{
"MyService": {
"WebhookIngestSystem": {
"type": "system",
"handles": ["LogWebhook"],
"emits": ["RawWebhookLogged"]
},
"RawWebhookLogged": {
"type": "event",
"schema": {
"requires": {
"raw": {
"_def": {
"innerType": {
"_def": {
"checks": [],
"typeName": "ZodString",
"coerce": false
}
},
"typeName": "ZodOptional"
}
},
"webhookKey": {
"_def": {
"checks": [{ "kind": "min", "value": 4 }],
"typeName": "ZodString",
"coerce": false
}
},
"timeWebhookArrived": {
"_def": { "checks": [], "coerce": true, "typeName": "ZodDate" }
}
}
}
}
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels