Skip to content

Commit

Permalink
make factory visible again
Browse files Browse the repository at this point in the history
  • Loading branch information
toggm committed Jan 14, 2025
1 parent e7a3dad commit 5fbdf70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/com/tegonal/play/json/TypedId.scala
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ object TypedId {
trait BaseId[V] {
val value: V
}

// Try to read any write generic id objects from json
private type Factory[V, I <: BaseId[V]] = V => I
type Factory[V, I <: BaseId[V]] = V => I

trait StringBaseId extends BaseId[String]
trait NumberBaseId extends BaseId[BigDecimal]
Expand Down

0 comments on commit 5fbdf70

Please sign in to comment.