Skip to content

feign-kotlin: dismiss404 doesn't work in CoroutineFeign #2026

Closed

Description

@tamara-skokova

Hi!
CoroutineBuilder does not set dismiss404 property so it is initialized with false when AsyncFeign is being created. Is this intended?

Activity

  1. added
    bug
    help wanted
    on May 24, 2023
  2. kdavisk6 commented on May 24, 2023

    @kdavisk6
    Member

    More than likely just an oversight. Feel free to submit a PR to correct it.

  3. jay-choe commented on Sep 17, 2024

    @jay-choe
    Contributor

    In BaseBuilder class, there is no method to set dismiss404 field from method parameter.

    It can be customized with CoroutineBuilder with extended method dismiss404().

    I think this is intended but.. is it need to set dismiss404 variable in builder??

    If needed then, can i correct it?

  4. seonwooj0810 commented on May 24, 2026

    @seonwooj0810
    Contributor

    Sent a fix in #3371 — CoroutineFeign.CoroutineBuilder.internalBuild() now forwards the inherited dismiss404 flag to the underlying AsyncFeign.AsyncBuilder. Includes a unit test that asserts the decoder is invoked on a 404 when dismiss404() is configured on the coroutine builder.

  5. added a commit that references this issue on May 25, 2026
    f4d78ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions