Skip to content

Echo V4 is not working anymore with the latest release #143

@lukasbash

Description

@lukasbash

Within #140 the echo dependency just silently changed, causing all automated go upgrades to the latest version to fail with echo V4:

cannot use echoSwagger.EchoWrapHandler((func(c *echoSwagger.Config) literal)) (value of func type "github.com/labstack/echo/v5".HandlerFunc) as "github.com/labstack/echo/v4".HandlerFunc value in argument to e.GETcompiler[IncompatibleAssign](https://pkg.go.dev/golang.org/x/tools/internal/typesinternal#IncompatibleAssign)

Why is this breaking change not communicated and can you implement a backwards compatibility handler as for V3?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions