Module: GraphQL::Schema::Member::BaseDSLMethods::ConfigurationExtension Private
- Included in:
- GraphQL::Schema::Member
- Defined in:
- lib/graphql/schema/member/base_dsl_methods.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
This pushes some configurations down the inheritance tree, in order to prevent repetitive lookups at runtime.
Instance Method Summary collapse
-
#inherited(child_class) ⇒ Object
private
Instance Method Details
#inherited(child_class) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
56 57 58 59 60 61 62 63 |
# File 'lib/graphql/schema/member/base_dsl_methods.rb', line 56 def inherited(child_class) child_class.introspection(introspection) child_class.description(description) if defined?(@graphql_name) && (self.name.nil? || graphql_name != default_graphql_name) child_class.graphql_name(graphql_name) end super end |