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

Update backend to filter challenges by difficulty #1029

Closed
Tracked by #853
tschaffter opened this issue Dec 20, 2022 · 2 comments · Fixed by #1030
Closed
Tracked by #853

Update backend to filter challenges by difficulty #1029

tschaffter opened this issue Dec 20, 2022 · 2 comments · Fixed by #1030
Assignees
Labels
api/spec API specification backend Backend development

Comments

@tschaffter
Copy link
Member

Enable to filter challenges by incentive type and difficulty. In preparation of more filters to come, I will follow the approach described in this article that relies on querydsl, filter object and custom repository.

@tschaffter tschaffter added api/spec API specification backend Backend development labels Dec 20, 2022
@tschaffter tschaffter self-assigned this Dec 20, 2022
@tschaffter
Copy link
Member Author

tschaffter commented Dec 21, 2022

Looking for a way to return a Page instead of a List. Maybe with this workaround?

See also from the above thread:

I guess the answer is: don't rely on querydsl-jpa to make your count queries for you, use blaze-persistence-querydsl instead.

See also this example.

@tschaffter tschaffter changed the title Update backend to filter challenges by incentive type and difficulty Update backend to filter challenges by difficulty Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/spec API specification backend Backend development
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant