Ability to retrieve proposal comments

This commit is contained in:
Alberto Miedes Garcés
2016-09-29 11:42:13 +02:00
parent dc0c36d117
commit d201f6a48a

View File

@@ -17,4 +17,7 @@ ProposalType = GraphQL::ObjectType.define do
field :retired_at, types.String, "Date when this proposal was retired"
field :retired_reason, types.String, "Reason why this proposal was retired"
field :retired_explanation, types.String, "Explanation why this proposal was retired"
# Linked resources
field :comments, !types[!CommentType], "Comments in this proposal"
end