<#262 Struct scala> Pull request opened by <honnix...
# flyte-github
a
#262 Struct scala Pull request opened by honnix TL;DR On top of #259 to support Scala case class as struct. Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☑︎ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Basically to support this type of IO:
Copy code
case class NestedNestedNested(string: String)
case class NestedNested(double: Double, nested: NestedNestedNested)
case class Nested(
    boolean: Boolean,
    byte: Byte,
    short: Short,
    int: Int,
    long: Long,
    float: Float,
    double: Double,
    string: String,
    list: List[String],
    map: Map[String, String],
    optBoolean: Option[Boolean],
    optByte: Option[Byte],
    optList: Option[List[String]],
    optMap: Option[Map[String, String]],
    nested: NestedNested
)

case class NestedIOTaskInput(
    @Description("the name of the person to be greeted")
    name: SdkBindingData[String],

    @Description("a nested input")
    generic: SdkBindingData[Nested]
)
Tracking Issue NA Follow-up issue NA flyteorg/flytekit-java ✅ All checks have passed 3/3 successful checks
#262 Struct scala Pull request ready for review by honnix flyteorg/flytekit-java