Testing 5.0.M10, and Exp.keyValue() fails e.g. if the value is a LocalDate. I am committing a disabled test here to demonstrate the problem.
io.agrest.AgException: Can't convert value to an expression argument
at io.agrest.AgException.internalServerError(AgException.java:106)
at io.agrest.exp.parser.ExpScalar.of(ExpScalar.java:61)
at io.agrest.protocol.Exp.keyValue(Exp.java:39)
One possible way to fix it is to treat the value as a parameter instead of scalar.
Testing 5.0.M10, and
Exp.keyValue()
fails e.g. if the value is a LocalDate. I am committing a disabled test here to demonstrate the problem.One possible way to fix it is to treat the value as a parameter instead of scalar.