From bb40a14e016135400ca9dcaf24524c15ae5f0aee Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sun, 10 Nov 2024 14:03:56 +0000 Subject: [PATCH] Document MusicLibrary context --- lib/music_library.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/music_library.ex b/lib/music_library.ex index 7948c96c..0be0e1f3 100644 --- a/lib/music_library.ex +++ b/lib/music_library.ex @@ -1,9 +1,9 @@ defmodule MusicLibrary do @moduledoc """ - MusicLibrary keeps the contexts that define your domain - and business logic. + Important contexts: - Contexts are also responsible for managing your data, regardless - if it comes from the database, an external API or others. + - `MusicLibrary.Records` contains functions to access and manipulate records _irrespectively_ of being in the collection or wishlist + - `MusicLibrary.Collection` contains functions to access and manipulate records in the collection + - `MusicLibrary.Wishlist` contains functions to access and manipulate records in the wishlist """ end