Sha256: b0f111b0c0d04143aa0f90d208fab249ccabb0e6850a634382b68226589d309f
Contents?: true
Size: 748 Bytes
Versions: 10
Compression:
Stored size: 748 Bytes
Contents
# frozen_string_literal: true module Decidim module Meetings # This interface represents all linked resources available in the module meetings module LinkedResourcesInterface include Decidim::Api::Types::BaseInterface graphql_name "MeetinsLinkedResourcewInterface" description "An interface that can be used with Resourceable models." if Decidim::Meetings.enable_proposal_linking field( :proposals_from_meeting, [Decidim::Proposals::ProposalType, { null: true }], "Proposals created in this meeting", null: false ) end def proposals_from_meeting object.linked_resources(:proposals, :proposals_from_meeting) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems