Struct Updates Now Require Pattern Matching in Elixir 1.19 (opens in new tab)
After upgrading to Elixir 1.19, you might see warnings like this: The fix is to pattern match on the struct when you define the variable: Both ...
Read the original article