From fba25f0fc1d3f213c4acaf76389d5461eef8c0eb Mon Sep 17 00:00:00 2001 From: vittorio-reinaudo Date: Fri, 24 Jan 2025 15:22:39 +0100 Subject: [PATCH] chore: add function to Arke.System to identify who is using --- lib/arke/system.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/arke/system.ex b/lib/arke/system.ex index 37fc78b..94525ac 100644 --- a/lib/arke/system.ex +++ b/lib/arke/system.ex @@ -37,6 +37,7 @@ defmodule Arke.System do unit.data.parameters end + def is_arke?(), do: nil def on_load(data, _persistence_fn), do: {:ok, data} def before_load(data, _persistence_fn), do: {:ok, data} def on_validate(arke, unit), do: {:ok, unit}