Michel Charpentier
Michel Charpentier
I ended up switching my project to Jackson (https://github.com/FasterXML/jackson-module-scala). I still ran into a problem, which may be related to yours: I had to replace `Option[Int]` with `Option[Integer]` and `Option[Double]`...
My current workaround: ```scala def safeExtract[A](json: JValue)(implicit formats: Formats, mf: scala.reflect.Manifest[A]): A = { val x = json.extract[A] if (json == decompose(x)) x else throw new MappingException("not exact") } ```
I'm writing tests for a server and I'd like to make sure the replies are exactly what they're supposed to be. This is what I'm using for now: ```scala def...
What's the status on this? Are there any plans for sbt to handle modules?
> I think this might be related what I reported to JSch? - "JSchException: invalid privatekey" on OpenSSH 7.8 and above https://sourceforge.net/p/jsch/bugs/129/ Probably. I was wondering if it's an sbt...
Any progress on this, or an estimate as to when records will be supported? I'm dealing with Java applications with Scala tests, and it's frustrating not to be able to...
> I'll make time some time for this, as a break from another PR with annoying test failures. Thank you. Just checking you didn't find something more interesting to do...
> @charpov Thanks for the report. Is specific Scala version required to reproduce this behavior? I'm using Scala 3.1 and sbt 1.6.1. I observed the same behavior on macOS and...
My bad. I didn't realize my homebrew was outdated. It works with 3.1.11.
Understood. I used to do that too (bootstrapping) but I eventually gave up. With good caching/volumes, I don't mind having everything downloaded one time. Smaller image with less frequent updates...