underscoreio / essential-slick

Essential Slick Pandoc Source
https://underscore.io/books/essential-slick/
39 stars 8 forks source link

update to Scala 2.13.3 and fix deprecations #185

Closed d6y closed 4 years ago

d6y commented 4 years ago

The depecations fixed:

  1. For <> and autotupling

We had a few cases of:

def * = (col1, col2, col3) <> (f, g)

This is deprecated for autotupling changes. Thankfully we don't need <> any more (with mapTo), but where we do show it we've gone for:

def * = (col1, col2, col3).<>(f, g)
  1. Empty parameter list

A small number of cases of foo where the method was defined as foo(), so now we must call it as foo().