Add comments under events to activities

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2021-03-10 17:38:13 +01:00
parent 58ee8e679b
commit 1f926902aa
14 changed files with 105 additions and 15 deletions

View File

@@ -11,7 +11,7 @@ defmodule Mobilizon.GraphQL.Schema.Discussions.CommentType do
@desc "A comment"
object :comment do
interfaces([:action_log_object])
interfaces([:action_log_object, :activity_object])
field(:id, :id, description: "Internal ID for this comment")
field(:uuid, :uuid, description: "An UUID for this comment")
field(:url, :string, description: "Comment URL")