You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# @param fallback_value [Object] A fallback value if the method is not defined
222
+
# @param skip_nodes_on_raise [Boolean] true if this field's list items should be skipped, if resolving them led to an error being raised. Only applicable to List types.
# TODO: should this check be centralized in `GraphQL::Schema::Member::BuildType#parse_type` instead?
356
+
ifskip_nodes_on_raise && !self.type.list?
357
+
raiseArgumentError,"The `skip_nodes_on_raise` option is only applicable to lists."
358
+
end
352
359
end
353
360
354
361
# If true, subscription updates with this field can be shared between viewers
@@ -584,9 +591,10 @@ def type
584
591
raiseMissingReturnTypeError,"Can't determine the return type for #{self.path} (it has `resolver: #{@resolver_class}`, perhaps that class is missing a `type ...` declaration, or perhaps its type causes a cyclical loading issue)"
0 commit comments