https://kotlinlang.org logo
#ktor
Title
# ktor
a

andylamax

02/06/2022, 11:28 AM
Just finished migrating our large project to ktor 2 The only hustle I got was realizing that CORS doesn't come bundled as in Ktor 1, it comes in a separate artifact
io.ktor:server-cors
Apart from that, I haven't come across any hardships really in the whole migration process, process took approximate 20 minutes. Taking into account that this was a multiplatform project with ktor both on the server and client side. Anyone who was skeptical migrating to it, should not be worried at all
👍 2
🎉 1
metal 5
🙏 1
e

e5l

02/07/2022, 1:44 PM
@Vadim Briliantov could you check?
v

Vadim Briliantov

02/07/2022, 1:47 PM
Thanks for your review of the process. Could you please tell if you used migration action in IDE? And if so, did you have
io.ktor.features.CORS
class used in your project?
a

andylamax

02/07/2022, 2:59 PM
No, I did not use migration action in IDE. and yes, I had
io.ktor.features.CORS
class in my project
🙏 1
2 Views