Skip to content

Commit cbdbf3c

Browse files
authored
Merge pull request #182 from bplommer/deprecated-value-field
Add deprecated value field for backward source compatibility with http4s CaseInsensitiveString
2 parents f75bfce + fdb01b6 commit cbdbf3c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

core/src/main/scala/org/typelevel/ci/CIString.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ final class CIString private (override val toString: String)
7070
def trim: CIString = transform(_.trim)
7171

7272
def length: Int = toString.length
73+
74+
@deprecated("Use toString", "0.1.0")
75+
def value: String = toString
7376
}
7477

7578
@suppressUnusedImportWarningForCompat

0 commit comments

Comments
 (0)