Skip to content

Commit

Permalink
Drop RawLocationType
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaidioz committed Jul 31, 2024
1 parent 87bde80 commit 1b4aabd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions client/src/main/scala/raw/client/api/RawTypes.scala
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import com.fasterxml.jackson.annotation.{JsonSubTypes, JsonTypeInfo}
new JsonType(value = classOf[RawBoolType], name = "bool"),
new JsonType(value = classOf[RawStringType], name = "string"),
new JsonType(value = classOf[RawBinaryType], name = "binary"),
new JsonType(value = classOf[RawLocationType], name = "location"),
new JsonType(value = classOf[RawDateType], name = "date"),
new JsonType(value = classOf[RawTimeType], name = "time"),
new JsonType(value = classOf[RawTimestampType], name = "timestamp"),
Expand Down Expand Up @@ -99,10 +98,6 @@ final case class RawStringType(nullable: Boolean, triable: Boolean) extends RawP
final case class RawBinaryType(nullable: Boolean, triable: Boolean) extends RawPrimitiveType {
override def cloneWithFlags(nullable: Boolean, triable: Boolean): RawType = RawBinaryType(nullable, triable)
}
final case class RawLocationType(nullable: Boolean, triable: Boolean) extends RawPrimitiveType {
override def cloneWithFlags(nullable: Boolean, triable: Boolean): RawType = RawLocationType(nullable, triable)
}

sealed abstract class RawTemporalType extends RawPrimitiveType

final case class RawDateType(nullable: Boolean, triable: Boolean) extends RawTemporalType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ trait Rql2TypeUtils {
case _: Rql2BoolType => RawBoolType(nullable, triable)
case _: Rql2StringType => RawStringType(nullable, triable)
case _: Rql2BinaryType => RawBinaryType(nullable, triable)
case _: Rql2LocationType => RawLocationType(nullable, triable)
case _: Rql2DateType => RawDateType(nullable, triable)
case _: Rql2TimeType => RawTimeType(nullable, triable)
case _: Rql2TimestampType => RawTimestampType(nullable, triable)
Expand Down

0 comments on commit 1b4aabd

Please sign in to comment.