View Source Mobilizon.GraphQL.Resolvers.Comment (Mobilizon v5.0.0-beta.1)
Handles the comment-related GraphQL calls.
Summary
Functions
@spec create_comment(any(), map(), Absinthe.Resolution.t()) :: {:ok, Mobilizon.Discussions.Comment.t()} | {:error, :unauthorized | :not_found | any() | String.t()}
@spec get_thread(any(), map(), Absinthe.Resolution.t()) :: {:ok, [Mobilizon.Discussions.Comment.t()]}
@spec update_comment(any(), map(), Absinthe.Resolution.t()) :: {:ok, Mobilizon.Discussions.Comment.t()} | {:error, :unauthorized | :not_found | any() | String.t()}