diff --git a/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala b/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala index be0f0ead..e7cc445a 100644 --- a/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala +++ b/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala @@ -308,7 +308,7 @@ object SdkLiteralTypes { value.asInstanceOf[Double].toLong } else if (tpe =:= typeOf[Float]) { value.asInstanceOf[Double].toFloat - } else if (tpe <:< typeOf[Option[Any]]) { // this has to be before Product check + } else if (tpe <:< typeOf[Option[Any]]) { // this has to be before Product check because Option is a Product Some( valueToParamValue( value,