kebs
kebs copied to clipboard
Scala library to eliminate boilerplate
Value enum for Scala 3 as seen in enumeratum. This implementation is better than Scala 2's as it's universal wrt value type.
Firstly thanks for the great library! :slightly_smiling_face: I cannot add `kebs-doobie` to my project and it [appears to be missing from Maven](https://search.maven.org/search?q=g:pl.iterators%20doobie). Is this expected?
Should be done similarly to https://github.com/theiterators/sealed-monad/pull/143
Should be done similarly to https://github.com/theiterators/sealed-monad/pull/126/files
spray-json, akka-http, slick modules depend on instances which is, in general, unnecessary, even though most users would probably add instances as a dep. I think the correct solution would be...
```scala object KebsProtocol extends KebsCirce import KebsProtocol._ @noflat case class F(i: Int) test("No-flat format - annotation") { val decoder = implicitly[Decoder[F]] val encoder = implicitly[Encoder[F]] decoder.apply(Json.fromFields(Seq("i" -> Json.fromInt(10))).hcursor) shouldBe Right(F(10))...
There are several things that the documentation is currently missing and could be helpful to future contributors: - Explain code organization - How to test your code - How to...