add name field to recordTime field

This commit is contained in:
jacob 2023-02-21 11:54:17 -06:00 committed by seebs
parent f65f7ffe95
commit bf37dfa9ba

View file

@ -648,7 +648,8 @@ func avroToPDKField(aField *avro.SchemaField) (idk.Field, error) {
return nil, errors.Errorf("required property for RecordTimeField: layout, err:%v", err)
}
return idk.RecordTimeField{
Layout: layout,
NameVal: aField.Name,
Layout: layout,
}, nil
}