Ref #273 Need help for `Effect Type`'s Injection
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
Research direction
Start with the linked AppWire.scala example, especially lines 20-21, and reproduce the reported failure using the macwire injection style shown there. Read the surrounding macwire injection behavior and determine what would make injection by name distinct from injection by variable name; done means the example can use macwire for those lines without the reported conflict.
Written by the indexing model from the issue text.
Description
@adamw Can't reopen https://github.com/softwaremill/macwire/issues/273 and create a new issue since reproduct the problem.
I use macwire to implement a web-app's injection using cats-effect with a simple way.
And it seems that it works in any effect type.
But some code not works well.
Code Link
Line 20 and Line 21 can not use macwire since "injection by name" is the same as "injection by varible name" in this injection style. Hoping for help to make these code more friendly.
- Dominant language
- Scala
- Stars
- 1.3k
- Forks
- 77
- Avg merge
- 9m
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
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/macwire
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
softwaremill/macwire#412 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
softwaremill/macwire#391 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
softwaremill/macwire#301 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
softwaremill/macwire#278 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
softwaremill/macwire#246 · 2 comments ·
All issues in softwaremill/macwire
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ergoplatform/ergodocs#614 ·
-
area:ci enhancement requires-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/datafusion-comet#6078 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug delta-datalayout flink
Difficulty 2/5 1-3 hours Newbie friendliness 86/100