-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump Caliban to 2.6.0 #125
Conversation
build.sbt
Outdated
"com.softwaremill.sttp.tapir" %% "tapir-json-zio" % "1.9.8" | ||
"com.github.ghostdogpr" %% "caliban" % calibanVersion, | ||
"com.github.ghostdogpr" %% "caliban-quick" % calibanVersion, | ||
"com.softwaremill.sttp.tapir" %% "tapir-json-zio" % "1.9.8" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think caliban-quick depends on jsoniter so we can get rid of this too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
build.sbt
Outdated
"com.github.ghostdogpr" %% "caliban-quick" % calibanVersion, | ||
"com.github.ghostdogpr" %% "caliban-zio-http" % calibanVersion, | ||
"com.softwaremill.sttp.tapir" %% "tapir-json-zio" % "1.9.8" | ||
"com.github.ghostdogpr" %% "caliban" % calibanVersion, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since caliban-quick depends on caliban, we can actually remove this too and only depend on caliban-quick
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah sure! I'm just usually wary to use transitive deps, but will do!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Method.ANY / "api" / "graphql" -> apiHandler, | ||
Method.ANY / "ws" / "graphql" -> | ||
ZHttpAdapter.makeWebSocketService(WebSocketInterpreter(interpreter)) | ||
Method.ANY / "api" / "graphql" -> handlers.api, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really clean now 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it's really nice. The quick adapter has been working really well for us in prod so far too, so pretty confident to make this change in Shardcake as well! :)
No description provided.