-
-
Save reactormonk/206a1301bfd646131e79 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import play.api.mvc.{Action, Controller} | |
import play.api.data.validation.Constraint | |
import de.zalando.play.controllers._ | |
import PlayBodyParsing._ | |
import PlayValidations._ | |
import scala.util._ | |
package api { | |
class Company extends CompanyBase { | |
val GET = GETAction { (company: String) => | |
Failure(???) | |
} //////// EOF //////// GETAction | |
} | |
} | |
package api { | |
class APIRoot extends APIRootBase { | |
val GET = GETAction { _ => | |
Failure(???) | |
} //////// EOF //////// GETAction | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[error] playground/conf/api.apij:0: type APIRoot is not a member of package api | |
[error] playground/conf/api.apij:0: type Company is not a member of package api | |
[error] playground/conf/api.apij:0: type APIRoot is not a member of package api | |
[error] playground/conf/api.apij:0: type Company is not a member of package api | |
[error] playground/conf/api.apij:0: type APIRoot is not a member of package api | |
[error] playground/conf/api.apij:0: type Company is not a member of package api |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment