Sha256: eec480bcfb9794704cc66f66c457cd621758e395b1a95db01541a3875e23565d
Contents?: true
Size: 634 Bytes
Versions: 6
Compression:
Stored size: 634 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." field :proposals_from_meeting, [Decidim::Proposals::ProposalType, { null: true }], "Proposals created in this meeting", null: false def proposals_from_meeting object.linked_resources(:proposals, :proposals_from_meeting) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems