playframework / play-scala-anorm-example

Example Play Database Application using Anorm
https://developer.lightbend.com/start/?group=play
Creative Commons Zero v1.0 Universal
41 stars 41 forks source link

Fix deprecated WithResult.fold method usage #94

Closed ipostanogov closed 5 years ago

ipostanogov commented 5 years ago

Fixes

Warning:(38, 7) method fold in trait WithResult is deprecated (since 2.5.1): Use fold with empty [[ColumnAliaser]] fold(Seq.empty[(String, String)]) { (acc, row) => // Anorm streaming

lightbend-cla-validator commented 5 years ago

Hi @ipostanogov,

Thank you for your contribution! We really value the time you've taken to put this together.

Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement:

http://www.lightbend.com/contribute/cla

ipostanogov commented 5 years ago

Signed CLA.

marcospereira commented 5 years ago

Thanks, @ipostanogov.