Configure HttpMessageConverters as a list by haydenrear · Pull Request #36083 · spring-projects/spring-framework

@haydenrear

    Adds ability to add message converter at specific index to builders, and propagates through to java.util.List.add(idx, ...)

Signed-off-by: hayden.rear <hayden.rear@gmail.com>

@bclozel bclozel changed the title Closes gh-36043 Configure HttpMessageConverters as a list

Jan 7, 2026

bclozel pushed a commit that referenced this pull request

Jan 7, 2026
This commit adds a new `configureMessageConvertersList` method on the
builder to add/remove/move converters in the resulting list before they
are individually post-processed.

This allows to re-introduce a behavior that was missing with the new
contract: the ability to append a converter at the end of the list.

See gh-36083

Signed-off-by: hayden.rear <hayden.rear@gmail.com>