Closed sb8244 closed 6 months ago
Describe the bug
An action that accepts attributes does not expose those attributes in the schema unless public? is true
accept
To Reproduce
Do not expose public?=true on an attribute, and expose it through accept
attributes do uuid_primary_key :id attribute :components, {:array, :map} end actions do create :create do accept [:components] end end
Expected behavior
The attributes should be visible as arguments
** Runtime Ash 3.0.0 Ash GraphQL 1.0.0
Additional context Slack reference: https://elixir-lang.slack.com/archives/C0193AHFLPN/p1715449045288019?thread_ts=1715443798.775959&cid=C0193AHFLPN
Fixed in 896d76420bc53a70a512640dab1dc4a7906fae75
Describe the bug
An action that
accept
s attributes does not expose those attributes in the schema unless public? is trueTo Reproduce
Do not expose public?=true on an attribute, and expose it through accept
Expected behavior
The attributes should be visible as arguments
** Runtime Ash 3.0.0 Ash GraphQL 1.0.0
Additional context Slack reference: https://elixir-lang.slack.com/archives/C0193AHFLPN/p1715449045288019?thread_ts=1715443798.775959&cid=C0193AHFLPN