We are using the ktor `URLBuilder` to create urls ...
# ktor
p
We are using the ktor
URLBuilder
to create urls in a type safe way. However suddenly lots of warnings popped up that the whole parameters api is marked as internal. (ParametersBuilder is public) but functions like
append
belong to
StringValuesBuilder
and are marked as
InternalAPI
. Is there really no public api to create an url with parameters?
☝🏾 1
☝🏼 2
e
I just hit this yesterday. Super annoying
h
The annotation InternalAPI will be removed in 2.0.0.
a
To get rid of the warning before 2.0.0 use
@OptIn(InternalAPI::class)
annotation.