Support polymorphic classes and type change?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start with the polymorphic case-class example in the issue and inspect the existing modify expression entry point. Determine the intended type-change behavior for the chained addresses, street, and name access, then establish tests showing the example compiles and produces the expected result.
Written by the indexing model from the issue text.
Description
Any interest in supporting polymorphism and type change?
case class Street[+A](name: A)
case class Address[+A](street: Option[Street[A]])
case class Person[+A](addresses: List[Address[A]])
val p2 = modify(person)(_.addresses.each.street.each.name).using(_.length)
- Dominant language
- Scala
- Stars
- 852
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from softwaremill/quicklens
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
softwaremill/quicklens#296 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
softwaremill/quicklens#291 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
softwaremill/quicklens#258 · 4 comments ·
-
Cannot use modify in opaque typesMay be free again @KacperFKorban claimed this 823 days ago, and no pull request is open. Open
softwaremill/quicklens#234 · 2 comments · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
softwaremill/quicklens#208 · 2 comments ·
All issues in softwaremill/quicklens
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
[Rust][Flaky Test] multiple_deadlines_fire_in_order asserts a wall-clock gap instead of firing orderOpenCI/CD ⚒️ Flaky-tests 🐦
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
valkey-io/valkey-glide#7255 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
lichess-org/lila#21905 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 3 days