Skip to content

Allow indexing for object list #1321

@saikumar-a

Description

@saikumar-a

Allow access to list objects with index like the one below. Note that this is allowed in Dozer.

public interface MyMapper {
    @Mapping(target = "subjectName", source = "course[0].courseName")
    Target map(Source source);
} 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions