Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try removing extra orphan-types setup #5269

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions lib/graphql/schema/build_from_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,6 @@ def build(schema_superclass, document, default_resolve:, using: {}, relay:)
raise InvalidDocumentError, "Type \"#{type_name}\" not found in document.", err_backtrace
end

object_types.each do |t|
t.interfaces.each do |int_t|
int_t.orphan_types(t)
end
end

if default_resolve.respond_to?(:resolve_type)
def self.resolve_type(*args)
self.definition_default_resolve.resolve_type(*args)
Expand Down
Loading