Enforce keys for all structs
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
defmodule LastFm.Album do
|
||||
@enforce_keys [:musicbrainz_id, :title]
|
||||
defstruct [:musicbrainz_id, :title]
|
||||
|
||||
@type t :: %__MODULE__{
|
||||
|
||||
Reference in New Issue
Block a user