I’m trying to delete the record after fetching the record from its uuid
(from oi in OrderItem, where: oi.id == ^id, join: o in Order, where: o.number == ^number) |> Repo.one() |> Repo.delete()
But when I’m passing this in the controller it’s giving me this
** (Ecto.Query.CastError) l value "1323"
cannot be dumped to type :binary_id in query
how do I fix this?