I particularly wouldn’t use records in elixir, I think the semantics are not particularly well ported. the only use I see for records in elixir is to interact with erlang existing records. I was even thinking to open an issue/suggest changes on that in the mailing list but didn’t had time… in this topic I showed a gist of it:
https://elixirforum.com/t/any-reason-for-the-different-semantics-with-records-in-elixir/
but I guess i’m going too off-topic here