diff --git a/core/src/main/scala/caliban/schema/Schema.scala b/core/src/main/scala/caliban/schema/Schema.scala index 404604e2a..24657497f 100644 --- a/core/src/main/scala/caliban/schema/Schema.scala +++ b/core/src/main/scala/caliban/schema/Schema.scala @@ -76,7 +76,7 @@ trait Schema[-R, T] { self => * Defines if the type can resolve to null or not. * It is true if the type is nullable or if it can fail. */ - @deprecatedOverriding("this method will be made final. Override canFail and nullable instead", "2.6.1") + @deprecatedOverriding("this method will be made final. Override canFail and nullable instead", "2.7.0") def optional: Boolean = canFail || nullable /**