Skip to content

Commit

Permalink
fix(Execute) remove unneeded nil check
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo committed Nov 28, 2016
1 parent 5717048 commit 4b02c42
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/graphql/execution/execute.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,6 @@ def resolve_value(parent_type, field_defn, field_type, value, selection, field_c
selection,
field_ctx,
)
if inner_value.nil?
PROPAGATE_NULL
else
inner_value
end
when GraphQL::TypeKinds::OBJECT
resolve_selection(
value,
Expand Down

0 comments on commit 4b02c42

Please sign in to comment.