I am new to Java, Playframework and Scala. I am trying to create a route to my action using an array, but am getting an error. I know the error says to use a custom query binder, but I also found spots that refer to this being supported in play 2.1. I am using 2.2.1. Is there something that I am missing, or do I need to create a custom QueryStringBinder? Is there a better way to do this?
GET /someAction controllers.MyController.someAction(employees:Array[Int])
Controller Action -
public static Result someAction(Array<int> employees)
No QueryString binder found for type Array[Int]. Try to implement an implicit QueryStringBindable for this type.