-
Notifications
You must be signed in to change notification settings - Fork 15
Does not support Play 2.5 #150
Comments
Another kindly suggestion, if its possible please also tag / release the sbt plugin version. Thanks! |
@zhenwenc Thanks for the bug report. |
Also, I have trouble using path parameters. I just checked out the source code from master branch, and
I tried with my spec file, the same issue occurs. Could you have a look if this is an issue or I have anything misconfigured. Thanks! |
@zhenwenc What the business logic in the controller looks like? |
@slavaschmidt Its pretty much the same as the |
@zhenwenc Sure, the test is supposed to fail until the logic in the controller is implemented. I'll update an example to day to make it pass. |
@slavaschmidt Many thanks! |
Do you have any ETA for Play2.5 support ? |
@harshvs20 The changes between 2.5 and 2.4 are more involving than we expected. The form support for example is only minor issue. Currently we are trying to figure out whether we could avoid having two separate branches for different play versions. So, unfortunately, we can't formulate any timelines in this regard yet. Sorry. |
@zhenwenc @harshvs20 @dehora @tlossen @achim if you like, you could try out addSbtPlugin("de.zalando" % "sbt-api-first-hand" % "0.1.12") ? It's former sbt-play-swagger but changed to support play 2.5. Thanks! |
The idea is to provide two different plugins for play 2.4 and 2.5 as it is not possible to support both play versions at the same time |
sbt-play-swagger version: 0.1.9
sbt-play version: 2.5.3 (tried 2.5.0 and 2.5.2)
Got the following exception when running
sbt test
:too many arguments for constructor MultipartFormData: (dataParts: Map[String,Seq[String]], files: Seq[play.api.mvc.MultipartFormData.FilePart[A]], badParts: Seq[play.api.mvc.MultipartFormData.BadPart])play.api.mvc.MultipartFormData[A] [error] val form = new MultipartFormData(data, files, Nil, Nil)
Following is the change of MultipartFormData class in Play 2.5 if that helps:
https://www.playframework.com/documentation/2.5.3/api/scala/index.html#play.api.mvc.MultipartFormData
The text was updated successfully, but these errors were encountered: