Skip to content

Trailed record inverts case class field order #11

@wzorgdrager

Description

@wzorgdrager

After a case class has been transformed to a (Trailed?)Record the fields (from the case class) are inverted.

Example:
case class Test(field1 : String, field2: String, field3: String)
Currently, if this case class is transformed to a TrailedRecord I need to call record.getField(0) to get field3, record.getField(1) to get field2 and record.getField(2) to get field3.

I guess it would be preferable to have it in the same ordering as the case class.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions