diff --git a/adapters/zio-http/src/main/scala/caliban/ZHttpAdapter.scala b/adapters/zio-http/src/main/scala/caliban/ZHttpAdapter.scala index 3390a6088..5e2e92dc9 100644 --- a/adapters/zio-http/src/main/scala/caliban/ZHttpAdapter.scala +++ b/adapters/zio-http/src/main/scala/caliban/ZHttpAdapter.scala @@ -32,7 +32,7 @@ object ZHttpAdapter { ZioHttpInterpreter().toHttp(endpoints) } - def makeWebSocketService[R <: Has[_], E]( + def makeWebSocketService[R, E]( interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean = false, enableIntrospection: Boolean = true, @@ -56,7 +56,7 @@ object ZHttpAdapter { ) ) - private def socketHandler[R <: Has[_], E]( + private def socketHandler[R, E]( subscriptions: Subscriptions, interpreter: GraphQLInterpreter[R, E], skipValidation: Boolean,