theodo-fintech/spring-search

Parameter value [true] did not match expected type [java.lang.Boolean (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [true] did not match expected type [java.lang.Boolean (n/a)]

Closed this issue · 1 comments

I can not do a query on a Boolean type.
here is my model
`

import ...
@getter(AccessLevel.PUBLIC)
@Setter(AccessLevel.PUBLIC)
@tostring
@entity
@table(name = "plan_travail")
public class PlanTravail extends Auditable implements Serializable {
@id
private Long id;
@column(name = "entreprise_id")
private Long entrepriseId;
@column(name = "fuseau_horaire", columnDefinition = "varchar(64) default 'Africa/Douala'")
private String fuseauHoraire;
@column(name = "par_defaut")
private boolean parDefaut;
}
`
and here is the query in question:
http://localhost:8097/api/search/planTravails?search=parDefaut:true

We just merge a pull request that implements this feature