OpenFeign / OpenFeign/feign

Add @QueryMap mapEncoder attribute

Open
#2,108 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

proposal waiting for votes
Dominant language
Java
Stars
9.8k
Forks
1.9k
Avg merge
1d 2h
Merged PRs (30d)
41

Description

As shown in this PR #2098 we would like to add the possibility to override at a method level, for the same client, with a different QueryMapEncoder, than the declared one in the Builder.

Thank you for discussing and/or reviewing it.

Regards,
Pierre

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing PR #2098 and the existing QueryMapEncoder configuration in the Feign client Builder. Trace how @QueryMap methods select their encoder and determine how a method-level mapEncoder attribute should override the client-level declaration. Done means the override works for one method without changing other methods on the same client.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.