From e7e9ca1d98923f05cf401ad1028676ea4cdc042a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Krenski?= Date: Thu, 26 Sep 2024 13:09:16 +0200 Subject: [PATCH] val flds --- .../rogue/cc/macros/MacroBsonFormatDerivingQuotes.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsonmacros/src/main/scala/me/sgrouples/rogue/cc/macros/MacroBsonFormatDerivingQuotes.scala b/bsonmacros/src/main/scala/me/sgrouples/rogue/cc/macros/MacroBsonFormatDerivingQuotes.scala index f1d2609..3400287 100644 --- a/bsonmacros/src/main/scala/me/sgrouples/rogue/cc/macros/MacroBsonFormatDerivingQuotes.scala +++ b/bsonmacros/src/main/scala/me/sgrouples/rogue/cc/macros/MacroBsonFormatDerivingQuotes.scala @@ -167,7 +167,7 @@ object MacroBsonFormatDerivingImpl: fieldsVec }.toVector //why no vector? - override def flds: Map[String, BsonFormat[?]] = + override val flds: Map[String, BsonFormat[?]] = ${ fldsFormatsMap } ++ (${ fldsFormatsMap } .map { case (name, f) => subfields(name, f) }) .flatten