fix: fix type definition for atomic_upgrade_with

This commit is contained in:
Zach Daniel 2024-09-05 00:40:10 -04:00
parent 26ad0b2a9b
commit 3ce48fb71f

View file

@ -82,7 +82,7 @@ defmodule Ash.Resource.Actions.Destroy do
default: false default: false
], ],
atomic_upgrade_with: [ atomic_upgrade_with: [
type: {:one_of, [:atom, nil]}, type: {:or, [:atom, nil]},
doc: """ doc: """
Configure the read action used when performing atomic upgrades. Defaults to the primary read action. Configure the read action used when performing atomic upgrades. Defaults to the primary read action.
""" """