Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error/check at compile time missing MappedEncodings #195

Open
csar opened this issue Sep 22, 2022 · 0 comments
Open

Improve error/check at compile time missing MappedEncodings #195

csar opened this issue Sep 22, 2022 · 0 comments

Comments

@csar
Copy link

csar commented Sep 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant