You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a column of type citext[], it will not be typed correctly. The output will be a List[PGobject].
def tags = column[Option[List[String]]]("tags")
Workaround right now is to manually convert the PGobject to String like tags.asInstanceOf[List[PGobject]].map(_.getValue). I tried it with a custom mapper
implicit val simpleCiStrListTypeMapper: JdbcType[List[String]] = new SimpleArrayJdbcType[String]("citext").to(_.toList)
but that didn't help.
The text was updated successfully, but these errors were encountered:
When using a column of type
citext[]
, it will not be typed correctly. The output will be aList[PGobject]
.Workaround right now is to manually convert the PGobject to String like
tags.asInstanceOf[List[PGobject]].map(_.getValue)
. I tried it with a custom mapperbut that didn't help.
The text was updated successfully, but these errors were encountered: