Unified · Split
| @@ -41,10 +41,8 @@ function decodeForEvent<A>( · 40 unmodified lines | ||
| 41 | 41 | field: string, |
| 42 | 42 | ): Effect.Effect<A, OrchestrationProjectorDecodeError> { |
| 43 | 43 | return Effect.try({ |
| 44 | − // eslint-disable-next-line @typescript-eslint/no-explicit-any | |
| 45 | − try: () => Schema.decodeUnknownSync(schema as any)(value) as A, | |
| 46 | − catch: (error) => | |
| 47 | − toProjectorDecodeError(`${eventType}:${field}`)(error as Schema.SchemaError), | |
| 44 | + try: () => Schema.decodeUnknownSync(schema as any)(value), | |
| 45 | + catch: (error) => toProjectorDecodeError(`${eventType}:${field}`)(error as Schema.SchemaError), | |
| 48 | 46 | }); |
| 49 | 47 | } |
| 50 | 48 | |
| @@ -30,6 +30,7 @@ · 29 unmodified lines | ||
| 30 | 30 | }, |
| 31 | 31 | "test": { |
| 32 | 32 | "dependsOn": ["^build"], |
| 33 | + "cache": false, | |
| 33 | 34 | "outputs": [] |
| 34 | 35 | } |
| 35 | 36 | } |