eigengo / scalad

Scala Data access for NoSQL databases
47 stars 15 forks source link

refactor to hide DBObject #59

Closed fommil closed 11 years ago

fommil commented 11 years ago

exposure of DBObject and the underlying Java objects results in an overly complex API.

This issue tracks the refactoring of the JsonSupport into a separate spray package which gives a 100% Scala API building on top of Spray JSON. This would make heavy use of #57 and will require several additional CRUD operations to be exposed, such as support for aggregations.

It is then quite clear that #58 should be implemented in a similar manner.