Hello.
I am a programmer who is learning Elixir from other typed languages.
Even though there’s some verbosity, In Typed Languages, I can say there is no misspelled property name in my code, once my code is compiled.
I thought the Struct can give me something similar, But it seems not.
I could add unregistered key to Struct when i use
%A{a: 1} |> Map.put(:b, 2)
And also
%{a |b: 2} syntax only raises errors on Run-time.
Does anybody know, How I can get more strict key name safety or at least better linting?
Thank you in advance.