module GraphQL::Schema::Member::HasInterfaces::ClassConfigured
Public Instance Methods
Source
# File lib/graphql/schema/member/has_interfaces.rb, line 73 def inherited(child_class) super child_class.extend(InheritedInterfaces) end
This combination of extended -> inherited -> extended means that the base class (Schema::Object) wonโt have the superclass-related code in InheritedInterfaces, but child classes of Schema::Object will have it. That way, we donโt need a superclass.respond_to?(...) check.
Calls superclass method