Skip to content

Commit

Permalink
Change deprecation warning version to 2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
XiNiHa committed May 11, 2024
1 parent fddcc3b commit 6fd85ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/caliban/schema/Schema.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down

0 comments on commit 6fd85ce

Please sign in to comment.