Closed jvican closed 8 years ago
This looks pretty great, nice work! A few comments (mostly useless), but a few questions as well. Nothing that has to be handled now.
Thanks @jsuereth :smile: I'll address some stuff in my next PR. Currently, I'm trying to solve the scalajs problem and try these new changes with my custom picklers for spores! But I'll be doing this soon!
This PR improves how custom pickler/unpickler generators are created in both scala pickling and third-party libraries that want to define their own for concrete types.
It also improves error reporting significantly. Now we have concrete exceptions for every kind of error that may happen. This improvement helps readability and also gives a pretty straightforward idea of what could go wrong.
List of changes:
Add custom runtime generators for Either
Refactor runtime custom picklers
Improve error reporting