3 ms·
Yes the apply method is still there. But since it has more than 22 arguments, you cant't lift it into a function object anymore. This will break some tools, li
by gourlaysama 13y ago
Yes the apply method is still there. But since it has more than 22 arguments, you cant't lift it into a function object anymore.
This will break some tools, like Play's forms, that need you to pass to a couple of serialization/deserialization functions.
Shapeless will probably be fine, or at least, since it is macro based, it will be able to go around the missing unapply and extract the fields directly, like pattern matching does. (I don't know shapeless enough to go into more details)
- caoilte 13y agoAaaaah, interesting. Spray uses Shapeless heavily, so this should make it a shoo-in for the Typesafe stack.