Skip to content

Instantly share code, notes, and snippets.

@johntbush
Created August 15, 2014 07:44
Show Gist options
  • Save johntbush/535eda37ff0ea3a34afa to your computer and use it in GitHub Desktop.
Save johntbush/535eda37ff0ea3a34afa to your computer and use it in GitHub Desktop.
this is how we do it
def getEntitiesByKeyFromDatastore[T](
entityName: String,
lookupKey: (String, String),
reads: Reads[T]): Either[DataStoreResponse, List[T]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment