Context I have setup like so: case class Foo( option_enum_vector_field: Option[Vector[Bar]] // Bar is complicated object which can't be easily exp ...
Context I have setup like so: case class Foo( option_enum_vector_field: Option[Vector[Bar]] // Bar is complicated object which can't be easily exp ...
In Sangria I'm getting a list of users by IDs The Query works, but I have to write the name of the Query and the name of the Field "users" twice, t ...
I'm using the scala play framework and graphql. I'm trying to set the cookie on graphql mutation by following this blog - https://sysgears.com/article ...
I am not able to use postman to query a graphql server written in scala using its sangria library. I get a request malformed error in postman if I use ...
I'm working on a Many-to-Many relation with Sangria and Slick. I have 3 objects: Role, Permission and RolePermission (a mapping table) So far I fig ...
I need to do server side pagination in graphql in scala. I have seven reports and have used one graphql query with different operations to get the dat ...
While deriving an object type i want to add an field with the AddFields-methode of Sangria. I don't know how to fill the parameter "resolve = " Can an ...
I defined a custom scalar type: DateTime (based on joda time library) in graphql schema. I see that in the Graphiql UI schema definition and a scalar ...
how exactly root parameter used in sangria? here is documentation query already contains resolver, how than root would be used? ...
Trying to get a derived input object from a case class. but getting this following error I have also defined the type for the timestamp: How ...
trying work with Sangria and Slick. New to both of them. I have bunch of tables which share a list of common fields. Slick's representation of this i ...
Trying to insert the information into DB that looks like this: with following logic: but compiler throws an error for TestTable.query.map(t=> ...
I'm trying to execute an introspection query against a schema having optional Enum input and a default value for it. Below is a sample code Below ...
I'm trying to perform query agains my local graphql server defined in Sangria. I have mutation defined like this: But when I'm trying to perform qu ...
I am running a graphQL server on Sangria (scala). Here is an example query: and a sample response: I am looking for a query that filters the lis ...
We have two endpoints (backend calls) which return different but relevant data types XData and YData. If an instance of XData exists with id 1, then t ...
I'm trying to implement a toy server with graphql endpoint using Akka Http + Sangria. However, when I send POST request with payload (direct cppy and ...
I have a simple case class MyContext(queries: Query) that I provide to the schema with : sangria.schema.Schema(deriveContextObjectType[MyContext, Quer ...
I am trying to get a Scala Map[String, Seq[String]] to a MapType in GraphQL Sangria. I think the way could be using: ...
I have a model object defined like this: And here is what I'm trying to do in my sangria schema definition: I need to define OrganizationFields ...