The current Map.from_struct/1 works only in the first level of a struct. It 
would be great if it's possible to handle nested structs without writing 
helpers. Maybe the default behavior would keep the same, but just add an 
option to recursively converts the struct, like
`Map.from_struct(instance, nested: true)` or something like this.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/4f2ac48a-e80a-4b0e-a368-e8638fb433b9n%40googlegroups.com.

Reply via email to