propensive / rapture

Rapture
183 stars 39 forks source link

It should be possible to create updates for `copy` method without type inference #246

Open propensive opened 7 years ago

propensive commented 7 years ago

The copy method on Json and Xml objects takes varargs of a horrendously convoluted type. It's difficult to create instances of this type without relying on type inference and an implicit conversion. There should be a convenience method for creating these values from a path defined as a List[Either[Int, String]].