mirror of
https://github.com/ash-project/ash.git
synced 2024-09-20 13:33:20 +12:00
fix: property tests should allow private attributes that are accepted
This commit is contained in:
parent
f8b186e40f
commit
dbf848e264
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ defmodule Ash.Generator do
|
||||||
arguments = Enum.reject(action.arguments, &find_manage_change(&1, action))
|
arguments = Enum.reject(action.arguments, &find_manage_change(&1, action))
|
||||||
|
|
||||||
resource
|
resource
|
||||||
|> Ash.Resource.Info.public_attributes()
|
|> Ash.Resource.Info.attributes()
|
||||||
|> Enum.filter(&(&1.name in action.accept))
|
|> Enum.filter(&(&1.name in action.accept))
|
||||||
|> set_allow_nil(action)
|
|> set_allow_nil(action)
|
||||||
|> Enum.concat(arguments)
|
|> Enum.concat(arguments)
|
||||||
|
|
Loading…
Reference in a new issue