There is no caliban.federation for scala 3 yet.
My question is what is a correct way to use it along with scala 3 libraries?
For now I have such a dependencies in my build.sbt:
lazy val `bookings` =
project
.in(file("."))
.settings(
…
I have the following case class:
@GQLDirective(federation.Key("User Config"))
case class UserConfig(
userId: Int,
personalGroup: Option[PersonalGroup] = None,
accountGroup:…
This is my model class:
final case class Organization(
id: UUID,
name: String
)
My Queries class looks like this:
case class Queries(
organizations: URIO[DatabaseService, List[Organization]]
)
And I have a service that looks like…
We have a Caliban GraphQL application, using it with Play framework. It is well covered with integration tests for queries and mutations, now we're about to add some integration tests for subscriptions and wondering how to do it correctly.
For…
I wanted to test my Caliban Http4s Webservice.
In Http4sAdapter it uses GraphQLRequest to model a Request Body.
case class GraphQLRequest(
query: String,
operationName: Option[String],
variables: Option[Map[String, InputValue]])
...
query …