Skip to content

Instantly share code, notes, and snippets.

@reactormonk
Created March 14, 2016 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reactormonk/206a1301bfd646131e79 to your computer and use it in GitHub Desktop.
Save reactormonk/206a1301bfd646131e79 to your computer and use it in GitHub Desktop.
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
}
}
[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