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
| //> using scala "2.13.10" | |
| //> using lib "io.spray::spray-json::1.3.6" | |
| import spray.json._ | |
| // il tuo wrapper di cose nullabili | |
| sealed trait PatchValue[+T] | |
| object PatchValue { | |
| object ToDelete extends PatchValue[Nothing] | |
| case class Value[T](t: T) extends PatchValue[T] |
NewerOlder