a `select` variant that returns the selected clause
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by locating the existing select API and the SelectClause definition. Review how selection currently reports results, then determine the behavior for returning the selected clause when a mutable Seq is passed. Done means the proposed select method supports the described use case and its behavior is covered by tests.
Written by the indexing model from the issue text.
Description
Having a method like the following:
def select(arg: scala.collection.Seq[SelectClause]): SelectClause
that informs you which SelectClause is selected is useful. Golang for example has such capability. One instance that I found this to be of use is (s: Source[Source[T]]).flatten https://github.com/softwaremill/ox/issues/197 https://github.com/softwaremill/ox/pull/198 where we should run a select on a merged set of both the parent source and its the children as they are discovered.
It would be even more fool proof if it still functions if a mutable Seq is passed to it, which fits better a broader range of use cases (including (s: Source[Source[T]]).flatten functionality)
- Dominant language
- Scala
- Stars
- 524
- Forks
- 36
- Avg merge
- 40m
- Merged PRs (30d)
- 15
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/ox
-
Difficulty 5/5 Over a week Newbie friendliness 45/100
softwaremill/ox#469 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
softwaremill/ox#366 · 7 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
softwaremill/ox#311 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
softwaremill/ox#147 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
softwaremill/ox#145 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
lichess-org/lila#21930 ·
Maintainers usually reply within 1 day
-
scope:security type:aquasec
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AbsaOSS/StatusBoard#69 ·
-
A-consensus C-question
Difficulty 1/5 Under an hour Newbie friendliness 74/100
ergoplatform/ergo#2624 ·
Maintainers usually reply within 3 days
-
google-java-format 1.37.0: NoSuchMethodError on JavaFormatterOptions$Style.valueOf (Style is now a record)Possibly taken @Goooler claimed this today. Open
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 2 days