aPureBase / KGraphQL

Pure Kotlin GraphQL implementation
https://kgraphql.io
MIT License
298 stars 58 forks source link

Ktor authentification blocks all routes while using with #205

Open sustainjane98 opened 1 year ago

sustainjane98 commented 1 year ago

When I use authentificate from the ktor core, the resulting route overrides all routes in the schema.

wrap { 
            authenticate(build = it)
        }

So I cannot tell ktor to authenticate only a special subset of routes. Is there a solution for this already?