spring-cloud / spring-cloud/spring-cloud-openfeign
How to use FeignClient and @QuerydslPredicate annotation together, or is it supported?
Open
Nobody has claimed this yet.
enhancement
icebox
- Dominant language
- Java
- Stars
- 1.3k
- Forks
- 838
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 13
Description
I have an interface for declaring the API, this is one of the methods:
@GetMapping
fun getPhraseList(
@Parameter(hidden = true) assembler: PagedResourcesAssembler<PhraseResponse>,
@Parameter(hidden = true) @PageableDefault(sort = [Const.DEFAULT_SORT]) pageable: Pageable,
@Parameter(hidden = true) @QuerydslPredicate(root = Phrase::class) predicate: Predicate?
): PagedModel<EntityModel<PhraseResponse>>
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file, test, or entry point is named. Start by reproducing the shown Kotlin interface method with FeignClient, @QuerydslPredicate, Pageable, and PagedResourcesAssembler, then inspect the related OpenFeign annotation handling. Done means establishing whether the combination is supported and documenting the required usage or limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, spring
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100