I assume the method body should look like this:
def config(viewport: OptArg[Double] = NoArg, background: OptArg[String] = NoArg, numberFormat: OptArg[String] = NoArg, timeFormat: OptArg[String] = NoArg, countTitle: OptArg[String] = NoArg) = { (_config composePrism _orElse(Config())).modify { c: Config => c.copy(viewport=viewport, background=background, numberFormat=numberFormat, timeFormat=timeFormat, countTitle=countTitle)(this) } }
I found this issue while setting the background color to white.
Also it would be nice if you could update to the latest circe version. :-)
I assume the method body should look like this:
def config(viewport: OptArg[Double] = NoArg, background: OptArg[String] = NoArg, numberFormat: OptArg[String] = NoArg, timeFormat: OptArg[String] = NoArg, countTitle: OptArg[String] = NoArg) = { (_config composePrism _orElse(Config())).modify { c: Config => c.copy(viewport=viewport, background=background, numberFormat=numberFormat, timeFormat=timeFormat, countTitle=countTitle)(this) } }
I found this issue while setting the background color to white.Also it would be nice if you could update to the latest circe version. :-)