Skip to content

Url const defined in a different module #938

@dshatz

Description

@dshatz

Ktorfit version

2.6.4

What happened and how can we reproduce this issue?

@POST(V2API.Cards.GetCardExists)
    suspend fun getCardExists(@Body body: Request<CardReqGetCardExists>): ResponseModel<CardRespGetCardExists>

V2API is an object defined in a different module which current one has a dependency on.

What did you expect to happen?

Should compile fine

Is there anything else we need to know about?

Doesn't compile:

Ktorfit: Missing either @POST URL or @Url parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions