View Source GlificWeb.Resolvers.Profiles (Glific v5.1.6)
Profile Resolver which sits between the GraphQL schema and Glific Profile Context API. This layer basically stitches together one or more calls to resolve the incoming queries.
Link to this section Summary
Functions
This method will create a profile
This method will delete a profile
This method will update a profile
Link to this section Functions
@spec create_profile(Absinthe.Resolution.t(), %{input: map()}, %{context: map()}) :: {:ok, any()} | {:error, any()}
This method will create a profile
@spec delete_profile(Absinthe.Resolution.t(), %{id: integer()}, %{context: map()}) :: {:ok, any()} | {:error, any()}
This method will delete a profile
@spec update_profile(Absinthe.Resolution.t(), %{id: integer(), input: map()}, %{ context: map() }) :: {:ok, any()} | {:error, any()}
This method will update a profile