From 5fbdf7075d56f772c9a8b1c801042442d6e39fc4 Mon Sep 17 00:00:00 2001
From: "mike.toggweiler" <mike.toggweiler@tegonal.com>
Date: Tue, 14 Jan 2025 09:30:49 +0100
Subject: [PATCH] make factory visible again

---
 app/com/tegonal/play/json/TypedId.scala | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app/com/tegonal/play/json/TypedId.scala b/app/com/tegonal/play/json/TypedId.scala
index fea2769..258d13f 100644
--- a/app/com/tegonal/play/json/TypedId.scala
+++ b/app/com/tegonal/play/json/TypedId.scala
@@ -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]