i recently updated huge project from Scala 2.12 to 2.13 and switched form using
https://github.com/shogowada/scala-json-rpc
to:
https://github.com/nawforce/scala-json-rpc
And few methods - jsonRPCServer.{bindApi, receive} and jsonRPCClient.createAPI - started giving me this error:
value pretty is not a member of io.circe.Printer
It didn't appear in the former version of the library. I tried to examine the sources, but failed to find the problematic calls.
Do, by any chance, any of you had similiar problem?
Asked
Active
Viewed 75 times
0

Dmytro Mitin
- 48,194
- 3
- 28
- 66

Ni3dzwi3dz
- 177
- 8
1 Answers
2
Looking at Scaladex and looking at the circe
dependency for both packages (Scaledex for the original, Scaladex for the fork you are using), it has been upgraded from 0.8.0 to 0.13.0. Looking at this commit it looks like pretty
has been deprecated in 0.12.0 (and judging from your post, probably dropped in 0.13.0) and replaced by printWith
, which is likely what you want to use.

stefanobaghino
- 11,253
- 4
- 35
- 63