AbsaOSS / AbsaOSS/fa-db

Provide Get and Put instances for Scala Seq for Doobie module

未關閉
#112 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Scala
星號
2
分支
0
平均合併
3 天 18 小時
30 天內合併 PR
3

描述

## Background
There is no built-in Put and Get for Scala Seq type, only for List. We should provide it as part of the library.

```scala
implicit val get: Get[Seq[String]] = Get[List[String]].map(_.toSeq)
implicit val put: Put[Seq[String]] = Put[List[String]].contramap(_.toList)
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。