mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 05:23:03 +12:00
fix: support skip_unknown_inputs
on generic actions
This commit is contained in:
parent
8d3b0b7246
commit
ed30dcf1dd
1 changed files with 5 additions and 0 deletions
|
@ -713,6 +713,11 @@ defmodule Ash do
|
||||||
domain: [
|
domain: [
|
||||||
type: {:spark, Ash.Domain},
|
type: {:spark, Ash.Domain},
|
||||||
doc: "The domain to use for the action"
|
doc: "The domain to use for the action"
|
||||||
|
],
|
||||||
|
skip_unknown_inputs: [
|
||||||
|
type: {:wrap_list, {:or, [:atom, :string]}},
|
||||||
|
doc:
|
||||||
|
"A list of inputs that, if provided, will be ignored if they are not recognized by the action. Use `:*` to indicate all unknown keys."
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue