This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-02-26 19:27:08 -08:00
1 parent 9c4095aaaa
commit 0cfaf7325e
2 files changed
+3 -4

No files matched your search

+2 -4
View File
@@ -41,10 +41,8 @@ function decodeForEvent<A>(
field: string,
): Effect.Effect<A, OrchestrationProjectorDecodeError> {
return Effect.try({
// eslint-disable-next-line @typescript-eslint/no-explicit-any
try: () => Schema.decodeUnknownSync(schema as any)(value) as A,
catch: (error) =>
toProjectorDecodeError(`${eventType}:${field}`)(error as Schema.SchemaError),
try: () => Schema.decodeUnknownSync(schema as any)(value),
catch: (error) => toProjectorDecodeError(`${eventType}:${field}`)(error as Schema.SchemaError),
});
}
+1
View File
@@ -30,6 +30,7 @@
},
"test": {
"dependsOn": ["^build"],
"cache": false,
"outputs": []
}
}