我正在将 Play 2.8.8 项目从 Scala 2.12 迁移到 2.13。
我在播放路线文件中有一个非常奇怪的错误:
method right in class Either is deprecated (since 2.13.0): Either is now right-biased, use methods directly on Either
.right
路由文件、生成的 Scala 路由文件或相关控制器中没有调用。
路线文件:
POST /roles/:id controllers.Authentication.api.RolesResource.addRoleToAccount(id:models.users.AccountId)
DELETE /roles/:id controllers.Authentication.api.RolesResource.removeRoleFromAccount(id:models.users.AccountId)
GET /roles/:id controllers.Authentication.api.RolesResource.getRolesForAccount(id:models.users.AccountId)
感谢您提供任何指导,这可能是此错误的根源。