Last active
August 29, 2015 14:04
-
-
Save tstone/81804aa38e8441cb2a4a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Person | |
class Manager extends Person | |
class Engineer extends Person | |
val people = Seq(new Engineer, new Manager) | |
people.map(_.toJson) | |
// PROBLEM: Implicit lookup is for a Writes[Person], not a Writes[Engineer] and Writes[Manager] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment