zio-protoquill
zio-protoquill copied to clipboard
Improve error/check at compile time missing MappedEncodings
Version: 4.4.1
Module: quill-cassandra-zio
Database: cassandra
Expected behavior
Quill checks if rows can be mapped to case class at compile time or gives at least a specific error which column type missing the MappedEncoding
Actual behavior
When retrieving one or more rows:
java.lang.IllegalArgumentException: Cannot summon a Column Resolver. Does not exist for Row
Steps to reproduce the behavior
Define a case class with a JsValue (spray.json) and try to query it. As long as there are 0 rows returned everything is fine, but as soon data is found it crashes.
Workaround
@getquill/maintainers