View Source Mobilizon.GraphQL.Resolvers.Tag (Mobilizon v5.0.0-beta.1)
Handles the tag-related GraphQL calls
Summary
Functions
Retrieve the list of related tags for a parent tag
Retrieve the list of tags for an event
Retrieve the list of tags for a post
Functions
@spec list_tags(any(), map(), Absinthe.Resolution.t()) :: {:ok, Mobilizon.Storage.Page.t(Mobilizon.Events.Tag.t())}
@spec list_tags_for_event(Mobilizon.Events.Event.t(), map(), Absinthe.Resolution.t()) :: {:ok, [Mobilizon.Events.Tag.t()]}
Retrieve the list of tags for an event
From an event or a struct with an url
@spec list_tags_for_post(Mobilizon.Posts.Post.t(), map(), Absinthe.Resolution.t()) :: {:ok, [Mobilizon.Events.Tag.t()]}
Retrieve the list of tags for a post