AbsaOSS / AbsaOSS/fa-db

Provide Get and Put instances for Scala Seq for Doobie module

Open
#112 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Scala
Stars
2
Forks
0
Avg merge
3d 18h
Merged PRs (30d)
3

Description

## 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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.