You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 15, 2020. It is now read-only.
I was just wondering... currently, the Format type order is the following:
trait Format[IR, IW, O] extends RuleLike[IR, O] with WriteLike[O, IW]
I don't quite find it fully readable. If we read Rule and Write, it looks like "IR, O, O, IW", which is like "IR, O, IW". It means, "I can go from IR to O and from O to IW". Nice. So why not having:
trait Format[IR, O, IW] extends RuleLike[IR, O] with WriteLike[O, IW]
// Wuuut?
implicit val userFormat = Format.gen[JsValue, BSONDocument, User]
// Ohhhh, I see!
implicit val userFormat = Format.get[JsValue, User, BSONDocument]
The text was updated successfully, but these errors were encountered:
I was just wondering... currently, the Format type order is the following:
I don't quite find it fully readable. If we read Rule and Write, it looks like "IR, O, O, IW", which is like "IR, O, IW". It means, "I can go from IR to O and from O to IW". Nice. So why not having:
The text was updated successfully, but these errors were encountered: