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

Link to this function

list_tags(parent, args, resolution)

View Source
Link to this function

list_tags_for_event(arg1, args, resolution)

View Source
@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

Link to this function

list_tags_for_post(post, args, resolution)

View Source
@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