Skip to content

Instantly share code, notes, and snippets.

@ctcarrier
Created December 17, 2013 23:40
Show Gist options
  • Save ctcarrier/8014839 to your computer and use it in GitHub Desktop.
Save ctcarrier/8014839 to your computer and use it in GitHub Desktop.
User of ReactiveMongo macros
package com
import reactivemongo.bson.{Macros, BSONDocument, BSONDocumentReader}
import com.blrest.model.{FlickrData, ImageMeta}
/**
* Created by ccarrier for bl-rest.
* at 3:19 PM on 12/15/13
*/
package object blrest {
implicit val flickrHandler = Macros.handler[FlickrData]
implicit val imageMetaHandler = Macros.handler[ImageMeta]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment