softwaremill / softwaremill/macwire

Extend cats-autowire to handle any effect type

Open
#189 20 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

autowire
Dominant language
Scala
Stars
1.3k
Forks
77
Avg merge
9m
Merged PRs (30d)
4

Description

Currently autowire works only for IO. It would be great if it would:

(a) work for any F[_]
(b) verify (if at all possible?) that all passed effects/factories/resources use the same effect type - or rather, that they can be parametrised with the same effect type

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the existing cats-autowire implementation and its IO-specific entry points; compare how effects, factories, and resources are currently wired. Define done as supporting a common F[_] and checking whether all inputs can use the same effect type, with tests covering both requirements.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
developer-experience
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.