woylie / flop

Filtering, ordering and pagination for Ecto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catch CastError / filter value validation

woylie opened this issue · comments

Ecto.CastError should be caught and turned into an error response, or filter values need to be validated depending on the field type / operator.

  • prevent Ecto.CastError on value field during validation
  • cast empty/not_empty filter values as boolean