We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbcf60 commit a549001Copy full SHA for a549001
lib/graphql/schema/warden.rb
@@ -232,7 +232,7 @@ def types
232
233
# @return [Boolean] True if this type is used for `loads:` but not in the schema otherwise and not _explicitly_ hidden.
234
def loadable?(type, _ctx)
235
- !reachable_type_set.include?(type) && visible_type?(type)
+ visible_type?(type) && !referenced?(type)
236
end
237
238
def loadable_possible_types(union_type, _ctx)
0 commit comments