Skip to content

Commit

Permalink
Remove Has constraint in ZHttpAdapter (#1241)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr authored Jan 6, 2022
1 parent 44a3d7e commit b1764be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/zio-http/src/main/scala/caliban/ZHttpAdapter.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit b1764be

Please sign in to comment.