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

John O'Reilly

01/01/2022, 2:20 PM
Is there any "compatibility" type mode/option to use existing plugins with Ktor 2.0 or do they have to be migrated first? Am currently using
KGraphQL
(https://github.com/aPureBase/KGraphQL) but get following when updating to use Ktor
2.0.0-beta-1
Copy code
Type mismatch.
Required:
Plugin<TypeVariable(P), TypeVariable(B), TypeVariable(F)>
Found:
GraphQL.Feature
e

ESchouten

01/01/2022, 5:38 PM
I expect not, such a major version increment is a good moment to remove deprecated features from the codebase. I am using KGraphQL in my projects as well, however the maintainer seems to be AWOL since August/September, we might have to migrate to Graphql-Kotlin
👍 1
a

Aleksei Tirman [JB]

01/02/2022, 12:15 PM
They have to be migrated. You can try to solve your problem by renaming
ApplicationFeature
to
ApplicationPlugin
.
👍 1