From 3ce48fb71f65b2149cd1172de23d3d17d5dcca1e Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Thu, 5 Sep 2024 00:40:10 -0400 Subject: [PATCH] fix: fix type definition for `atomic_upgrade_with` --- lib/ash/resource/actions/destroy.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ash/resource/actions/destroy.ex b/lib/ash/resource/actions/destroy.ex index 27e0694d..b93726d5 100644 --- a/lib/ash/resource/actions/destroy.ex +++ b/lib/ash/resource/actions/destroy.ex @@ -82,7 +82,7 @@ defmodule Ash.Resource.Actions.Destroy do default: false ], atomic_upgrade_with: [ - type: {:one_of, [:atom, nil]}, + type: {:or, [:atom, nil]}, doc: """ Configure the read action used when performing atomic upgrades. Defaults to the primary read action. """