Skip to content

fix auto insertion warnings#638

Merged
mkurz merged 1 commit into
playframework:mainfrom
xuwei-k:apply-auto-insertion
Jul 5, 2025
Merged

fix auto insertion warnings#638
mkurz merged 1 commit into
playframework:mainfrom
xuwei-k:apply-auto-insertion

Conversation

@xuwei-k
Copy link
Copy Markdown
Contributor

@xuwei-k xuwei-k commented Jul 5, 2025

[warn] -- Warning: /home/runner/work/playframework.com/playframework.com/app/actors/DocumentationActor.scala:564:17 
[warn] 564 |            .map(DocumentationSitemap)
[warn]     |                 ^^^^^^^^^^^^^^^^^^^^
[warn]     |The method `apply` is inserted. The auto insertion will be deprecated, please write `actors.DocumentationActor.DocumentationSitemap.apply` explicitly.
[warn] -- Warning: /home/runner/work/playframework.com/playframework.com/app/controllers/documentation/DocumentationController.scala:2[64](https://github.com/playframework/playframework.com/actions/runs/16085402790/job/45395893285#step:12:65):13 
[warn] 264 |    (actor ? GetSummary).mapTo[DocumentationSummary].map { summary =>
[warn]     |             ^^^^^^^^^^
[warn]     |The method `apply` is inserted. The auto insertion will be deprecated, please write `actors.DocumentationActor.GetSummary.apply` explicitly.
[warn] -- Warning: /home/runner/work/playframework.com/playframework.com/app/controllers/documentation/DocumentationController.scala:293:13 
[warn] 293 |    (actor ? GetSitemap).mapTo[DocumentationSitemap].map { docSitemap =>
[warn]     |             ^^^^^^^^^^
[warn]     |The method `apply` is inserted. The auto insertion will be deprecated, please write `actors.DocumentationActor.GetSitemap.apply` explicitly.

@mkurz mkurz merged commit 2574e9e into playframework:main Jul 5, 2025
7 checks passed
@xuwei-k xuwei-k deleted the apply-auto-insertion branch July 5, 2025 23:35
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.

2 participants