Glific v0.3.1 GlificWeb.Resolvers.Contacts View Source
Contact Resolver which sits between the GraphQL schema and Glific Contact Context API. This layer basically stiches together one or more calls to resolve the incoming queries.
Link to this section Summary
Link to this section Functions
Specs
contact_location(Absinthe.Resolution.t(), %{id: integer()}, %{context: map()}) :: {:ok, any()} | {:error, any()}
Get current location of the contact
Specs
count_contacts(Absinthe.Resolution.t(), map(), %{context: map()}) :: {:ok, integer()}
Get the count of contacts filtered by args