Module: Decidim::Core::ComponentInterface

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

Class Method Summary collapse

Class Method Details

.resolve_type(obj, _ctx) ⇒ Object


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

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