You might use reflection to avoid missing fields…
AnyStruct.__schema__(:fields)
… as explained in the book Testing Elixir
You might use reflection to avoid missing fields…
AnyStruct.__schema__(:fields)
… as explained in the book Testing Elixir