typelevel / typelevel/fs2-grpc
Support code gen using ? for wildcards
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 284
- Forks
- 66
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 4
Description
In Scala 3 it is possible to use _ for type lambda placeholders by setting the -Ykind-projector:underscores compiler flag. When this is enabled _ can no longer be used for wildcards, ? must be used instead. The code gen doesn't support this ATM so you end up with compiler errors from the generated code.
Contributor guide
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.
Research direction
Start at the repository's code-generation entry point and inspect how wildcard type syntax is emitted when Scala 3's -Ykind-projector:underscores flag is used. Verify that generated code compiles with this flag and uses ? for wildcard positions, while preserving the existing behavior without the flag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100