Mathias Polligkeit

Results 74 issues of Mathias Polligkeit

`Phoenix.Router.resources` defines both a PATCH route and a PUT route for the `:update` operation. In your controller, you will only have one function for both routes, and that means, you...

bug

Filter manipulation functions (pending): - [ ] `pop_filter` - [ ] `pop_first_filter` (move from flop_phoenix) - [ ] `update_filter` - [ ] `delete_filter` - [ ] `drop_filters` - [ ]...

Flop was originally written with Ecto in mind, but it can be used with other data sources as well (e.g. lists, HTTP APIs). Especially in combination with `Flop.Phoenix`, it is...

enhancement

It is possible to pass `default_limit` and `default_order` options to the Flop query functions and to `Flop.Phoenix.build_path/3`, but the components do not know about the used options when calling `build_path/3`,...

By default, Flop.Phoenix puts all parameters into the query parameters when building URLs. This can overridden by passing a custom URL builder function since version 0.15, allowing you to map...

enhancement

resolves #63 To cover all cases, I had to add `channel2` and `channel3` fields to the reminder schema. - `channel`: `identity_by_fields` and `type_field` - `channel2`: none of these options -...

Ecto 3.10 introduces the `sort_param` and `drop_param` options for `cast_assoc` and `cast_embed`: https://hexdocs.pm/ecto/Ecto.Changeset.html#cast_assoc/3-sorting-and-deleting-from-many-collections. This is also showcased in a LiveView context [here](https://youtu.be/FADQAnq0RpA?t=2859). I think it would be useful to add...

resolves #67 Branched out from #66, since I'm using the new fields on the reminder module.

I think we could use some better tests and examples for building forms with array fields (`polymorphic_embeds_many`).