kebs
kebs copied to clipboard
Scala library to eliminate boilerplate
Enum support in slick-pg needs some boilerplate registration. It'd be great to avoid it: https://github.com/tminglei/slick-pg/blob/master/src/test/scala/com/github/tminglei/slickpg/PgEnumSupportSuite.scala Nice to have - both for Scala's Enum and enumeratum.
``` case class Member(id: UUID, name: String) object Member { } class Members(tag: BaseTable.Tag) extends BaseTable[Member](tag, "position") { import driver.api._ def id: Rep[UUID] = column[UUID]("id") def name: Rep[String] = column[String]("name")...
Composite types in slick-pg requires lots of boilerplate (especially tedious `extends Struct` which destroys domain class purity). Seems likea good thing for kebs to fix. Reference: https://github.com/tminglei/slick-pg/blob/master/src/test/scala/com/github/tminglei/slickpg/PgCompositeSupportSuite.scala
Updates [com.typesafe.akka:akka-stream-testkit](https://github.com/akka/akka) from 2.6.19 to 2.6.20. [GitHub Release Notes](https://github.com/akka/akka/releases/tag/v2.6.20) - [Version Diff](https://github.com/akka/akka/compare/v2.6.19...v2.6.20) I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd...
## About this PR 📦 Updates [com.typesafe.slick:slick](https://github.com/slick/slick) from `3.4.1` to `3.5.0` 📜 [GitHub Release Notes](https://github.com/slick/slick/releases/tag/v3.5.0) - [Version Diff](https://github.com/slick/slick/compare/v3.4.1...v3.5.0) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...
## About this PR 📦 Updates * [org.scala-lang:scala-compiler](https://github.com/scala/scala) * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from `2.13.12` to `2.13.13` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.13) - [Version Diff](https://github.com/scala/scala/compare/v2.13.12...v2.13.13) ## Usage ✅ **Please merge!** I'll automatically...
## About this PR 📦 Updates * [org.scala-lang:scala-compiler](https://github.com/scala/scala) * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from `2.12.18` to `2.12.19` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.19) - [Version Diff](https://github.com/scala/scala/compare/v2.12.18...v2.12.19) ## Usage ✅ **Please merge!** I'll automatically...
The problem can be reproduced with the test below (it should also be added to `CirceFormatNoFlatTests` along with the fix) ```scala object KebsProtocol extends KebsCirce with KebsCirce.NoFlat import KebsProtocol._ case...
```scala object TokenUsdPriceDomain: opaque type TokenUsdPriceTimestamp = Instant object TokenUsdPriceTimestamp extends Opaque[TokenUsdPriceTimestamp, Instant] opaque type TokenUsdPriceValue = BigDecimal object TokenUsdPriceValue extends Opaque[TokenUsdPriceValue, BigDecimal] // TokenUsdPriceValue is stored in database as...