{
"issues": [
{
"_tag": "Type",
"path": [
0,
"deletedAt"
],
"message": "Expected DateFromSelf, actual \"2025-07-24T07:11:58.051Z\""
},
{
"_tag": "Type",
"path": [
0,
"deletedAt"
],
"message": "Expected null, actual \"2025-07-24T07:11:58.051Z\""
}
],
"message": "(<declaration schema> <-> ReadonlyArray<{ readonly id: <declaration schema>; readonly text: string; readonly completed: boolean; readonly deletedAt: DateFromString | null }>)\n└─ Type side transformation failure\n └─ ReadonlyArray<{ readonly id: <declaration schema>; readonly text: string; readonly completed: boolean; readonly deletedAt: DateFromString | null }>\n └─ [0]\n └─ { readonly id: <declaration schema>; readonly text: string; readonly completed: boolean; readonly deletedAt: DateFromString | null }\n └─ [\"deletedAt\"]\n └─ DateFromString | null\n ├─ DateFromString\n │ └─ Type side transformation failure\n │ └─ Expected DateFromSelf, actual \"2025-07-24T07:11:58.051Z\"\n └─ Expected null, actual \"2025-07-24T07:11:58.051Z\"",
"_tag": "HttpApiDecodeError"
}
{
"issues": [
{
"_tag": "Type",
"path": [
0,
"deletedAt"
],
"message": "Expected DateFromSelf, actual \"2025-07-24T07:11:58.051Z\""
},
{
"_tag": "Type",
"path": [
0,
"deletedAt"
],
"message": "Expected null, actual \"2025-07-24T07:11:58.051Z\""
}
],
"message": "(<declaration schema> <-> ReadonlyArray<{ readonly id: <declaration schema>; readonly text: string; readonly completed: boolean; readonly deletedAt: DateFromString | null }>)\n└─ Type side transformation failure\n └─ ReadonlyArray<{ readonly id: <declaration schema>; readonly text: string; readonly completed: boolean; readonly deletedAt: DateFromString | null }>\n └─ [0]\n └─ { readonly id: <declaration schema>; readonly text: string; readonly completed: boolean; readonly deletedAt: DateFromString | null }\n └─ [\"deletedAt\"]\n └─ DateFromString | null\n ├─ DateFromString\n │ └─ Type side transformation failure\n │ └─ Expected DateFromSelf, actual \"2025-07-24T07:11:58.051Z\"\n └─ Expected null, actual \"2025-07-24T07:11:58.051Z\"",
"_tag": "HttpApiDecodeError"
}