Skip to content

Commit

Permalink
fix(specs): add ignoreConjugations to AlternativesAsExact [skip-b…
Browse files Browse the repository at this point in the history
…c] (generated)

algolia/api-clients-automation#4230

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Dec 11, 2024
1 parent 0774f06 commit a7ab37d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ object AlternativesAsExact {
case object MultiWordsSynonym extends AlternativesAsExact {
override def toString = "multiWordsSynonym"
}
val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym)
case object IgnoreConjugations extends AlternativesAsExact {
override def toString = "ignoreConjugations"
}
val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym, IgnoreConjugations)

def withName(name: String): AlternativesAsExact = AlternativesAsExact.values
.find(_.toString == name)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ object AlternativesAsExact {
case object MultiWordsSynonym extends AlternativesAsExact {
override def toString = "multiWordsSynonym"
}
val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym)
case object IgnoreConjugations extends AlternativesAsExact {
override def toString = "ignoreConjugations"
}
val values: Seq[AlternativesAsExact] = Seq(IgnorePlurals, SingleWordSynonym, MultiWordsSynonym, IgnoreConjugations)

def withName(name: String): AlternativesAsExact = AlternativesAsExact.values
.find(_.toString == name)
Expand Down

0 comments on commit a7ab37d

Please sign in to comment.