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

Adds option to list all elements instead of doing a search #2027

Merged
merged 8 commits into from
Aug 27, 2021

Conversation

awildturtok
Copy link
Collaborator

No description provided.

@awildturtok awildturtok requested a review from thoniTUB August 17, 2021 09:49
Comment on lines 284 to 291
.stream()
.sorted(Map.Entry.comparingByKey())
.map(entry -> entry.getValue().items)
.flatMap(Collection::stream)
.distinct()
.skip(offset)
.limit(limit)
.collect(Collectors.toList());
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

müsstest du nach dem flapMap, nicht auch nochmal sortieren?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das war eine bewusste Entscheidung deren Grund ich leider nicht mehr weiß. Mache mir mal einen Test und schaue was rauskommt.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, es wird so dann nach den labels/keywords sortiert was denke ich richtig ist.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hab dir einen Test beigelegt

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Siehe unten.

@awildturtok awildturtok requested a review from thoniTUB August 24, 2021 14:10
@awildturtok
Copy link
Collaborator Author

@thoniTUB ich habe das auflisten mal weiter runtergeschoben um den code so zu vereinheitlichen.

@awildturtok awildturtok requested a review from thoniTUB August 24, 2021 16:42
@thoniTUB thoniTUB merged commit 4fe38bc into develop Aug 27, 2021
@delete-merged-branch delete-merged-branch bot deleted the feature/resolve-with-prefetch branch August 27, 2021 13:40
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

Successfully merging this pull request may close these issues.

2 participants