I’m not sure I even realized you could do %User{user | name: "name"}
In the name of failing fast, forcing a pattern match makes far more sense in which case the struct update syntax just becomes redundant “just to be super duper extra safe” syntax.
1 Like


















