Skip to content

Commit

Permalink
Generate nil default value for input field w/default value in schema (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyMDev authored and gh-action-runner committed May 14, 2024
1 parent de2b59c commit a491080
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ extension GraphQLInputField {
}

private var hasSwiftNilDefault: Bool {
isNullable && !hasDefaultValue
isNullable || hasDefaultValue
}

var isNullable: Bool {
Expand Down

0 comments on commit a491080

Please sign in to comment.