feat: Improve handling of association name config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon 2026-05-07 12:13:45 +02:00
parent 605a897045
commit 2443bc62ac
Signed by: simon
GPG key ID: 40E7A58C4AA1EDB2
9 changed files with 179 additions and 4 deletions

View file

@ -178,6 +178,18 @@ defmodule Mv.Membership do
end
end
@doc """
Invalidates the global settings cache.
This should be used by callers that update settings through paths outside of
`update_settings/2` (for example, custom form submit flows) to keep reads via
`get_settings/0` consistent across views.
"""
@spec invalidate_settings_cache() :: :ok
def invalidate_settings_cache do
SettingsCache.invalidate()
end
@doc """
Lists only required custom fields.