Module: Decidim::Core::ComponentInterface

Includes:
Api::Types::BaseInterface
Defined in:
lib/decidim/api/interfaces/component_interface.rb

Class Method Summary collapse

Class Method Details

.resolve_type(obj, _ctx) ⇒ Object



17
18
19
# File 'lib/decidim/api/interfaces/component_interface.rb', line 17

def self.resolve_type(obj, _ctx)
  obj.manifest.query_type.constantize
end