Skip to content

Commit

Permalink
fix: don't check data layer compatibility for manual actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Dec 13, 2024
1 parent 188389e commit 867a84b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ defmodule Ash.Resource.Verifiers.ValidateActionTypesSupported do
def verify(dsl_state) do
dsl_state
|> Verifier.get_entities([:actions])
|> Enum.reject(&(&1.type in [:read, :action]))
|> Enum.reject(&(&1.type in [:read, :action] || &1.manual))
|> Enum.each(fn action ->
data_layer = Verifier.get_persisted(dsl_state, :data_layer)
resource = Verifier.get_persisted(dsl_state, :module)
Expand Down

0 comments on commit 867a84b

Please sign in to comment.