Mathieu Decaffmeyer
Mathieu Decaffmeyer
I updated the readme in order to highlight that limitation. I think there's no way to make that work. Especially that we'd expect the path (to redirect to) to be...
Actually, taking the example in the issue, what do you think about being able to create `MyAppWeb.Redirect`, which would contain something like: ```elixir defmodule MyAppWeb.Redirect do use Redirect end ```...
Sorry for the late reply. > it's not congruent with what Phoenix does It will then not be very readable with all the bunch of URLs starting with "/" under...
Hi @cavi21 As mentioned in the readme, `redirect` doesn't work in scopes. Any snippet present in this issue would have been only suggestions for implementing the feature, but it didn't...
As you can see, I don't use typespecs 😬 I do not really understand the implications of adding your suggestion.
Could you update from the current master and keep `any`?
I'll release it soon. Queueing up a few changes. Ty
Hi. It is undocumented because it should be internal and not supposed to be used. This is the way to use this lib in forms: https://github.com/mathieuprog/polymorphic_embed?tab=readme-ov-file#displaying-form-inputs-and-errors-in-liveview Could you compare that...
When loading from the db, we get just the map (in the Ecto Type) (we don't have the other fields of the schema), so we can't infer the type from...
You're right. I got confused. So let's talk about dumping into db. We don't have the other field values from the schema.