Marcin Kulik

Results 485 comments of Marcin Kulik

I'm experiencing the same problem. This is caused by this pattern match: https://github.com/smpallen99/ex_admin/blob/18b0435d640eb501bc1c86937bafaf5204c1724d/web/ex_admin/errors_helper.ex#L52 It matches on `%{}` in order to traverse nested has_many/belongs_to associations for errors, however `Decimal` (as used...

I'd be happy to send PR with this fix :)

#381 should solve this one too.

I'm experiencing the same problem when running Wayland+Sway under Parallels Desktop on M1 macbook. This problem doesn't occur under any other guest OS/window manager I virtualize on Parallels. I've tested...

I just ran into similar problem. We have `field :adress_line_1` in input object schema, and when `addressLine1` is included we get `Unknown field` error. ```elixir iex(1)> "address_line_1" |> Macro.camelize |>...

I think that quite safe way of fixing that is to keep `%{Macro.camelize(field_1_name) => field_1_name, ...}` map on the schema, and use it for lookup instead of relying on `Macro.underscore`....

This is one way of doing it: ```elixir def travel(post, time) do post |> PaperTrail.get_versions() |> Enum.sort_by(& &1.id) |> Enum.take_while(& &1.inserted < ^time) |> Enum.map(& &1.item_changes) |> Enum.reduce(%{}, &Map.merge(&2, &1))...

@liveforeverx is this about streaming parsing?

Yeah, streamed encoding and streamed decoding are two different things, and both would be useful in specific situations.

Oops, previous comment was mine, but I forgot that I'm using different GH account :)