Minor nuisance still present in ktor 2: `Url` vs `...
# ktor
r
Minor nuisance still present in ktor 2:
Url
vs
URLBuilder
😕
3
Though I certainly get the major nuisance it’ll be to refactor this in large code bases 😅
m
Do the two classes coexist?
r
@Matteo Mirk Yes,
URLBuilder
produces
Url
objects
m
I see, so you would like to have just one class to build and represent URLs?
The builder could be an usual companion object inside
Url
probably…
b
I think he means the casing, URL vs Url. (At least I think that's a nuisance. Kotlin's coding conventions suggests UrlBuilder casing I'm pretty sure)
m
Oh I see, thanks
r
Oh, yeah I meant the casing inconsistency
👍 1