mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-20 05:13:33 +12:00
chore: format
This commit is contained in:
parent
c222e8088a
commit
84ca2e7125
1 changed files with 2 additions and 1 deletions
|
@ -634,7 +634,8 @@ defmodule AshGraphql.Resource do
|
|||
|> Enum.filter(& &1.writable?)
|
||||
|> Enum.map(fn attribute ->
|
||||
allow_nil? =
|
||||
attribute.allow_nil? || attribute.default != nil || type == :update || attribute.generated? ||
|
||||
attribute.allow_nil? || attribute.default != nil || type == :update ||
|
||||
attribute.generated? ||
|
||||
(type == :create && attribute.name in action.allow_nil_input)
|
||||
|
||||
explicitly_required = attribute.name in action.require_attributes
|
||||
|
|
Loading…
Reference in a new issue