View Source MalanPhoenixUtils.Ecto (malan_phoenix_utils v0.1.0)

Link to this section Summary

Functions

If any of the top-level properties are Ecto.Association.NotLoaded, remove them.

Link to this section Functions

If any of the top-level properties are Ecto.Association.NotLoaded, remove them.

Note that if map is actually a struct this won't work. You should first convert it to a map:

Map.from_struct(struct)