quicklens icon indicating copy to clipboard operation
quicklens copied to clipboard

Modify deeply nested case class fields

Results 49 quicklens issues
Sort by recently updated
recently updated
newest added

I think it would be useful to have a version of `setTo` which accepts an `Option` and only changes the object if the value being passed in is `Some`.

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 3.5.1. Release notes Sourced from actions/setup-java's releases. v3.5.1 In scope of this release we change logic for Microsoft Build of OpenJDK. Previously it had hard...

dependencies

To reproduce: ```scala case class X(a: Double) X(0).modify(_.a).setTo(1) ``` Originally reported as part of #114

Bumps [coursier/cache-action](https://github.com/coursier/cache-action) from 6.3.1 to 6.3.3. Release notes Sourced from coursier/cache-action's releases. v6.3.3 Updates / maintainance Bump @​types/node from 18.7.1 to 18.7.2 by @​dependabot in coursier/cache-action#369 Bump @​actions/cache from 3.0.2...

dependencies

Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. Release notes Sourced from actions/cache's releases. v3.0.0 This change adds a minimum runner version(node12 -> node16), which can break users using an out-of-date/fork of...

dependencies

See: https://github.com/softwaremill/quicklens/pull/99#discussion_r962290494

Let's consider case class containing optional wrapped generic field: ```scala case class Wrapper[T](value: T) case class X(f1: Option[Wrapper[String]]) val x = X(Option(Wrapper("test"))) modify(x)(_.f1.each.value).using(duplicate) ``` It works correctly. But if we...

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 1 to 4. Release notes Sourced from actions/setup-java's releases. v4.0.0 What's Changed In the scope of this release, the version of the Node.js runtime was updated to...

dependencies

## About this PR 📦 Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.7.3` to `3.7.17` 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.7.17) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.7.3...v3.7.17) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

Bumps [coursier/cache-action](https://github.com/coursier/cache-action) from 6.3.1 to 6.4.4. Release notes Sourced from coursier/cache-action's releases. v6.4.4 What's Changed Support ignoring job and matrix jobs as part of cache key by @​ihostage in coursier/cache-action#512...

dependencies