From f7cf890b40e30468ef8d283809b9a7602c58e962 Mon Sep 17 00:00:00 2001 From: Pierre Ricadat Date: Fri, 7 Jan 2022 08:43:45 +0900 Subject: [PATCH] Remove Has constraint in ZHttpAdapter --- adapters/zio-http/src/main/scala/caliban/ZHttpAdapter.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,