In this article, we review a simple option to introduce GraphQL subscriptions on WebSockets into your Scala GraphQL API using Play 2, Sangria, and Akka Streams.
If you need to generate virtual files and want webpack to treat them as real files, you can use a special plugin Webpack Virtual Modules. Find out how you can use the plugin for your project.
Processing HTTP headers and cookies in a Scala and GraphQL API with Sangria is easy once you read our article.
For a Scala and GraphQL API, proper error handling is one of the keys to successful development. And Sangria gives us enough tools to get track and manage various errors with GraphQL queries.
Creating your first GraphQL server for Scala can't be easier with our article! Check out our explanation of how to build a GraphQL API with Scala, Play, and Sangria.
In your React application, you may need to implement infinite scroll pagination with Apollo. We explain how you can achieve this in your application using apollo-link-state.
Making pattern matching in a Scala application isn't very straightforward. In our article, we review a few ways to handle exceptions or mitigate the problem when using pattern matching.