diff --git a/tools/src/main/scala/caliban/tools/compiletime/Config.scala b/tools/src/main/scala/caliban/tools/compiletime/Config.scala index d0afeb526..80ac34eea 100644 --- a/tools/src/main/scala/caliban/tools/compiletime/Config.scala +++ b/tools/src/main/scala/caliban/tools/compiletime/Config.scala @@ -52,7 +52,8 @@ trait Config { | splitFiles = $splitFiles, | enableFmt = $enableFmt, | extensibleEnums = $extensibleEnums, - | supportIsRepeatable = $supportIsRepeatable + | supportIsRepeatable = $supportIsRepeatable, + | excludeDeprecated = $excludeDeprecated |) """.stripMargin.trim } diff --git a/tools/src/test/scala/caliban/tools/compiletime/ConfigSpec.scala b/tools/src/test/scala/caliban/tools/compiletime/ConfigSpec.scala index f14a7f195..06532b633 100644 --- a/tools/src/test/scala/caliban/tools/compiletime/ConfigSpec.scala +++ b/tools/src/test/scala/caliban/tools/compiletime/ConfigSpec.scala @@ -18,7 +18,8 @@ object ConfigSpec extends ZIOSpecDefault { splitFiles = true, enableFmt = false, extensibleEnums = true, - supportIsRepeatable = true + supportIsRepeatable = true, + excludeDeprecated = true ) private val toCalibanCommonSettingsSpec = @@ -44,7 +45,7 @@ object ConfigSpec extends ZIOSpecDefault { supportIsRepeatable = Some(true), addDerives = None, envForDerives = None, - excludeDeprecated = None + excludeDeprecated = Some(true) ) ) ) @@ -66,7 +67,8 @@ object ConfigSpec extends ZIOSpecDefault { | splitFiles = false, | enableFmt = true, | extensibleEnums = false, - | supportIsRepeatable = true + | supportIsRepeatable = true, + | excludeDeprecated = false |) """.stripMargin.trim ) @@ -85,7 +87,8 @@ object ConfigSpec extends ZIOSpecDefault { | splitFiles = true, | enableFmt = false, | extensibleEnums = true, - | supportIsRepeatable = true + | supportIsRepeatable = true, + | excludeDeprecated = true |) """.stripMargin.trim ) @@ -106,7 +109,8 @@ object ConfigSpec extends ZIOSpecDefault { imports = List.empty, splitFiles = false, enableFmt = true, - extensibleEnums = false + extensibleEnums = false, + excludeDeprecated = false ) ) )