-
-
Save tomjadams/3cd23ee0492277acaf28b64e05a37c79 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
object WorkDetailsDataSource extends DataSource[WorkIdLocaleId, Option[Work]] { | |
override def name = "WorkDetails" | |
override def identity(i: WorkIdLocaleId) = (name, i.identity) | |
override def fetchOne(id: WorkIdLocaleId) = ... | |
override def fetchMany(ids: NonEmptyList[WorkIdLocaleId]) = { | |
... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment