Enforce keys for all structs

This commit is contained in:
Claudio Ortolina
2025-01-24 10:35:58 +00:00
parent 3c8b39237c
commit 8bf3de9b55
8 changed files with 16 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
defmodule Obsidian.Entry do
@enforce_keys [:type, :musicbrainz_id, :title, :release, :cover_url, :genres]
defstruct [:type, :musicbrainz_id, :title, :release, :cover_url, :genres]
end