<#3453 [BUG] Java AutoValue Inputs/Outputs can't e...
# flyte-github
a
#3453 [BUG] Java AutoValue Inputs/Outputs can't extend from other classes. Issue created by andresgomezfrr Describe the bug If I have an AutoValue Input/Output and it extends from another class which adds more fields to this input/output, the
JacksonSdkType.of(Input.class)
doesn't get the fields from the parent class properly.that Expected behavior
Copy code
@AutoValue
  public abstract static class Input extends ParentInput {
    abstract SdkBindingData<String> c();

    public static Input create(
        SdkBindingData<String> a,
        SdkBindingData<String> b,
        SdkBindingData<String> c) {
      return new AutoValue_Input(a, b, c);
    }
  }
Copy code
public abstract static class Input extends ParentInput {
  abstract SdkBindingData<String> a();

  abstract SdkBindingData<String> b();
}
This autovalue class is generated well but the
JacksonSdkType.of(Input.class)
only identifies the
c
as a field. It must identify
a
,
b
&
c
. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte