From f7f96bb463cffb7daa97a21c71165b6c0a85dae7 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Tue, 16 May 2023 15:16:40 -0400 Subject: [PATCH] fix: don't require `{:data_layer, *}` for custom locks --- lib/ash/data_layer/data_layer.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ash/data_layer/data_layer.ex b/lib/ash/data_layer/data_layer.ex index 534e6daa..782c891b 100644 --- a/lib/ash/data_layer/data_layer.ex +++ b/lib/ash/data_layer/data_layer.ex @@ -12,7 +12,7 @@ defmodule Ash.DataLayer do @type t :: module @type data_layer_query() :: struct - @type lock_type :: :for_update | {:data_layer, term()} + @type lock_type :: :for_update | term() @type transaction_reason :: %{type: :create, metadata: %{resource: Ash.Resource.t(), action: atom}} | %{