[2.9.x] Support Scala 3-style wildcard type arguments in routes files (backport #13972) by @jadenPete by mergify[bot] · Pull Request #13973 · playframework/playframework · GitHub
Skip to content

[2.9.x] Support Scala 3-style wildcard type arguments in routes files (backport #13972) by @jadenPete - #13973

Merged
mkurz merged 1 commit into
2.9.xfrom
mergify/bp/2.9.x/pr-13972
Jun 3, 2026
Merged

mkurz merged 1 commit into
2.9.xfrom
mergify/bp/2.9.x/pr-13972

Conversation

@mergify

@mergify mergify Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Fixes

This PR adds support for Scala 3-style wildcard type arguments in routes files. Currently, Play supports the old _ syntax, but it doesn't support the newer ? syntax. This PR fixes that.

Purpose

See above.

Background Context

Without support for the new syntax, there's no way to compile generated router code with Scala 3 and use wildcard type arguments.

References

N/A


This is an automatic backport of pull request #13972 done by [Mergify](https://mergify.com).

@mkurz
mkurz merged commit ac45308 into 2.9.x Jun 3, 2026
10 checks passed
@mkurz
mkurz deleted the mergify/bp/2.9.x/pr-13972 branch June 3, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant