Correct me if I am wrong, but GraphQL sends query as a parameter of request. As far as I remember @annyce implemented GraphQL application with Kotless.
In general, if query is just a parameter you can use any library you want for Ktor/Spring. Kotless will generate handler for route and deserialize parameters — after it library should be able to work with them as usually