fix: don't require {:data_layer, *} for custom locks

This commit is contained in:
Zach Daniel 2023-05-16 15:16:40 -04:00
parent c99c36d8c8
commit f7f96bb463

View file

@ -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}}
| %{