-
Notifications
You must be signed in to change notification settings - Fork 20
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
getting "invalid json" when using Long parameter type and not String #12
Comments
I'll take a look at this when I get some time. It's possible that this is a general Lift question, so you may want to post this question on the Google Group. |
Sorry I've been slow getting back to you. As I sit to take a second look at this, probably what should happen is a compilation failure in this case. The value arguments are case class PonyRequest(id:Long) extends NgModel
.jsonCall("getPonyById", (req:PonyRequest) => {
Full(MyPony.findById(req.id))
} |
I've finally found time to dig into this. I have no idea why this compiles, so I have opened a stackoverflow question to get some insight. |
This will fail to compile in 0.7.0. |
.jsonCall("getPonyByName", (id:Long) => {
// Return the matching pony
Full(MyPony.findById(id))
}
The text was updated successfully, but these errors were encountered: