Skip to content

Instantly share code, notes, and snippets.

@Openpalm
Created March 22, 2017 08:37
Show Gist options
  • Save Openpalm/62e165d63fbd26f5f4017be0a7e8954e to your computer and use it in GitHub Desktop.
Save Openpalm/62e165d63fbd26f5f4017be0a7e8954e to your computer and use it in GitHub Desktop.
case class getBuildTagsObject(buildTagsProjectId: String)
BuildTagsByProjectId.as(getBuildTagsObject) { pId: getBuildTagsObject => DoSmth }
val buildTagsByProjectId = path("buildTags" / "projectId" / Segment) & (get | head)
migrating from akka2.3 /spray -> akka2.4/akka.http
error:
[error] found : common.objects.databaseMessageType.getBuildTagsObject.type
[error] required: akka.http.scaladsl.server.util.ConstructFromTuple[(String,),?]
[error] buildTagsByProjectId.as(getBuildTagsObject) { pId: getBuildTagsObject => {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment