I just tried upgrading to ktor 1.1.0. I can no lon...
# ktor
s
I just tried upgrading to ktor 1.1.0. I can no longer call
install(Authentication) {
in the context of
Application
. How should I be doing this now?
1
c
It should still work. From which version are you upgrading?
What error do you see?
s
1.0.1. It just can't find the install method.
You can see the install method can't be found, and you can see the import options. None of which seem like what I want.
I can replace it with
<Feature>.install(this) {
, but this sounds like an unintentional change. i.e.
Authentication.install(this) {
Copy code
DefaultHeaders.install(this) {
}
It's also annoying that I have to provide a blank lambda with this method.
s
it definitely stops working
I swap back to 1.0.1 and everything works fine. Swap back to 1.1.0 and it fails terribly.
Gonna file a bug around it. I'm not sure why. I see the function still...
e