just adding to that, if you’re talking about tests… if you pattern match you can just look for the stuff you care for in a particular test run… so that works
assert %{field: :i_care_for} = %MyStruct{field: :i_care_for, other_field: :dont_care_about}
just adding to that, if you’re talking about tests… if you pattern match you can just look for the stuff you care for in a particular test run… so that works
assert %{field: :i_care_for} = %MyStruct{field: :i_care_for, other_field: :dont_care_about}