-
Notifications
You must be signed in to change notification settings - Fork 180
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
Mapping a null value to JsValue #285
Comments
Nevermind, adding |
Yes, adding |
I just thought that since the return value was set to |
hmm ... yes, you're right. We should enhance it. |
Not a problem, I'm just not sure if it's a slick or pg-slick responsibility. Both Option[JsValue] or JsNull are valid for null, I think it's just a matter of covering every possible cases or not. |
Updated, you can help check. |
I've this query
and I get this slick issue:
looking at the code:
seems it's trying to convert null to play.api.libs.json.JsValue.
However seems the conversion fails since it throws an exception, shouldn't it be returning a JsNull value?
The text was updated successfully, but these errors were encountered: