Implementing pagination with Slick is a common task in Scala projects. But it’s rarely obvious how to build efficient queries on the server to get the necessary entities with additional data. Read our article to find a solution.
ReactiveMongo is an extremely convenient toolkit for working with MongoDB in Scala applications. But, at the same time, its documentation does not cover some of the typical scenarios, so sometimes it takes time to find the right solution. One of such tasks - storing polymorphic objects in a database - is the focus of this blog post.