Skip to content

When the id type is Any. #933

@zjarlin

Description

@zjarlin

Ktorfit version

2.6.4

What happened and how can we reproduce this issue?

override suspend fun delete(id: Any): Boolean {
val _ext: HttpRequestBuilder.() -> Unit = {
this.method = HttpMethod.parse("GET")
url{
takeFrom(_ktorfit.baseUrl + "/device/delete")
id?.filterNotNull()?.forEach { parameter("id", "$it") }
}
}
val _typeData = TypeData.createTypeData(
typeInfo = typeInfo(),
)
return _helper.suspendRequest(_typeData,_ext)!!
}

What did you expect to happen?

Image When the id type is Any.

Is there anything else we need to know about?

No response

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