Glific v0.3.1 GlificWeb.Resolvers.Users View Source
User Resolver which sits between the GraphQL schema and Glific User Context API. This layer basically stiches together one or more calls to resolve the incoming queries.
Link to this section Summary
Functions
Get the count of users filtered by args
Update current user
Update user Later on this end point will be accessible only to role admin
Link to this section Functions
Specs
count_users(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, integer()}
Get the count of users filtered by args
Specs
update_current_user(Absinthe.Resolution.t(), %{input: map()}, %{context: map()}) :: {:ok, any()} | {:error, any()}
Update current user
Specs
update_user(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, any()} | {:error, any()}
Update user Later on this end point will be accessible only to role admin