It would be nice if you could assert fields of structures in a piped ecto like style.
Ex: my_struct |> assert_not_nil([:some_field,:other_field] |> assert_exists([:another_field]) |> do_something() |> assert_expression([new_struct], new_struct.another_field != my_struct.another_field ) -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/375cfdb2-2eae-443b-a1c7-8d754923bc57n%40googlegroups.com.
