Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serializer .include method bug #1095

Open
schieck0 opened this issue Aug 9, 2017 · 0 comments
Open

Serializer .include method bug #1095

schieck0 opened this issue Aug 9, 2017 · 0 comments

Comments

@schieck0
Copy link

schieck0 commented Aug 9, 2017

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant