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

Scala compiler message: Could not infer SQL-type of String, assuming it is a Unknown Quat. #3054

Open
tnielens-centrica opened this issue Jul 1, 2024 · 1 comment

Comments

@tnielens-centrica
Copy link

The scala compiler logs these messages for certain custom types of mine.

Could not infer SQL-type of String, assuming it is a Unknown Quat.
Could not infer SQL-type of org.joda.DateTime, assuming it is a Unknown Quat.
Could not infer SQL-type of Quality, assuming it is a Unknown Quat.

These aren't actionable as they don't point to a code location. They don't either use standard logging level that the compiler seem to support as I see other messages prefixed with info/warn, etc.

I do provide codecs for these types. The compilation succeeds and quill behaves fine at runtime.

Version: 4.8.4
Module: quill-engine
Database: mysql

Expected behavior

A compilation error with an actionable message. Or a success with no compiler messages.

Actual behavior

The compilation succeeds but I get these compiler messages.

Steps to reproduce the behavior

Workaround

@getquill/maintainers

@marko-asplund
Copy link

We're seeing the same issue after updating to Quill v4.8.
Any hints on how to chase down call sites causing these types of messages in your code?

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

2 participants