Skip to content

Serializer .include method bug #1095

@schieck0

Description

@schieck0

Case:
result.use(Results.json()).withoutRoot().from(agenda)
.include("lembretes", "lembretes.lembreteEquipeFuncionario", "lembretes.lembreteEquipeFuncionario.equipe", "lembretes.lembreteEquipeFuncionario.equipe.funcionarioEquipeList",
"reunioes", "reunioes.participanteReuniaoList", "reunioes.participanteReuniaoList.equipe"
.serialize();

Included complete subpath from "lembretes":
lembretes.lembreteEquipeFuncionario.equipe.funcionarioEquipeList

Included complete subpath from "reunioes":
reunioes.participanteReuniaoList.equipe

Assuming that the "equipe" object has the sublist funcionarioEquipeList however this was only included from the object "lembretes".
What happens is that reunioes.participanteReuniaoList.equipe.funcionarioEquipeList is being automatically included.

Am I wrong, or would this be a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions