We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a1e93 commit 7140771Copy full SHA for 7140771
scenario-compiler/src/main/scala/pl/touk/nussknacker/engine/compile/ExpressionCompiler.scala
@@ -186,7 +186,10 @@ class ExpressionCompiler(
186
187
for {
188
compiledParams <- allCompiledParams.toIor
189
- _ <- Validations.validateWithCustomValidators(compiledParams, paramValidatorsMap).toIor
+ customValidatorsResult = Validations.validateWithCustomValidators(compiledParams, paramValidatorsMap)
190
+ // We want to accumulate errors from custom validators, but also preserve typing information from allCompiledParams
191
+ // even if custom validators return some errors
192
+ _ <- customValidatorsResult.toIor.addRight(())
193
} yield compiledParams
194
}
195
0 commit comments