chimney icon indicating copy to clipboard operation
chimney copied to clipboard

Scala library for boilerplate-free, type-safe data transformations

Results 63 chimney issues
Sort by recently updated
recently updated
newest added

Following this comment, https://github.com/scalalandio/chimney/issues/69#issuecomment-456360446 current implementation of patchers macro doesn't look for loca implicit instances. It neither call itself recursively in order to support following example: ```scala case class Bar(a:...

enhancement
dragons ahead

Derivation fails when the target contains a mixed in trait: ```scala import io.scalaland.chimney.dsl._ trait B { val b : Int } case class A(a : Boolean) A(true) .into[A with B]...

enhancement

It's ok to patch a subset of fields on the top level, but not on deeper levels. ```scala import io.scalaland.chimney.dsl._ case class Foo(x: Int, y: String) case class FooPatch(x: Int)...

enhancement
blocked
dragons ahead

There's a limitation (https://scalalandio.github.io/chimney/#Limitations) that you can't provide values for missing fields when writing to Java bean. The task is to find out whether we can make `.withFieldConst`, `.withFieldComputed` and...

Typical situation in our project is case classes that share common fields by trait. ``` trait Education { def shortName: String def years: Int } case class School(shortName: String, years:...

enhancement
dragons ahead

Thank you for this great library! It's incredibly useful together with Diode+React. Here's a suggestion, which I think naturally falls within the domain of chimney: Being able to patch a...

enhancement
blocked
dragons ahead

It might be useful to consider adding a method that automatically renames all fields of a class according to provided `f: String => String`, something along these lines: ``` case...

enhancement
relatively easy but not small

Java collections module introduced on 0.8.0 solved some problems: * provided support for Java optional type (`java.util.Optional`) similar to support for `scala.Option` * provided support for Java collections It has...

breaking change

TODO: - [x] update build - [ ] test locally that artifacts are not broken - [x] define 2.13 and 3 test cases - [x] case classes - [x] case...

blocked

TODO: - [x] add tests for `partial.Result.orElse` - [x] create Scaladoc for `orElse` - [x] update mkdocs for Cats instances - [x] perhaps use `arrow` name instead of `category` in...

breaking change