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

`enum Some { OPTIONA = 0; OPTIONB = 1; OPTIONC = 2; }` `enum SomeOther { OPTIONA = 0; OPTIONB = 1; OPTIONC = 2; }` I am currently not...

Hi - first, I've gotten a lot of value from this project. Your work is much appreciated. My question: is it possible to have a Transformer that combines 2 (or...

I have the following code generated by ScalaPB: ```scala sealed abstract class A(val value: Int) object A { sealed trait Recognized extends A case object Foo extends A(0) with A.Recognized...

Are there any plans to support Scala 3 or do the changes in Scala 3 make this difficult?

Instead of using the default constructor, we could use an alternative method specified by the user. Typically some version of `apply`. The API could look like `into[Foo].via(Foo.apply).transform` or sth similar.

I've come across a bug (or at least an iconsistency) with the ErrorPath support: When an error is thrown within a transformer that is embedded within a `withFieldComputedF` call, then...

Currently only declarations within the source type is checked. Should we add a config option to increase this scope to parent classes?

I have this two classes: ```scala final case class WrapperProto(position: AbstractPositionProto) final case class Wrapper[T](position: AbstractPosition[T]) ``` And I'm trying to derive a transformer between the two such as: ```scala...

Motivated by the [issues I've encountered earlier](https://github.com/scalalandio/chimney/issues/176#issuecomment-719835155), and living with `.disableDefaultValues` as a consequence, I think the following rule would be a good balance of convenience and safety: > Only...

I get an error with what looks to be a pedestrian case. ```scala import io.scalaland.chimney.Transformer import io.scalaland.chimney.dsl._ import org.scalatest.funsuite.AnyFunSuite import org.scalatest.matchers.should.Matchers sealed trait A extends Product with Serializable object A...