Created
January 31, 2019 11:30
-
-
Save robhinds/99447884eeb6132b7c246a191b164d7f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
trait DocumentRoute[F[_]] extends DocumentRepository[F]{ | |
def F: Monad[F] | |
def M: MarshallableMonad[F] | |
val getDocuments: Route = (get & path("documents")) { | |
complete( | |
documents() | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment