beloglazov / couchdb-scala

A purely functional Scala client for CouchDB
Apache License 2.0
65 stars 19 forks source link

Cant use java.uti.date or Joda DateTime in model classes #63

Open amitkarir2k14 opened 8 years ago

amitkarir2k14 commented 8 years ago

I have case classes with date fields (either java Date or Joda DateTime)

I cant get this to work with this library

I get the following errors for basic CRUD ops

for db.docs.create and db.docs.update

Error: value unapply is not a member of object org.joda.time.DateTime value unapply is not a member of object java.util.date

for db.docs.getT

value apply is not a member of object org.joda.time.DateTime value apply is not a member of object java.util.date

Please suggest