defmodule FacesWeb.Schema.Person do use Absinthe.Schema.Notation @desc "A person whose face we want to see" object :person do @desc "A unique identifier for this person" field(:id, :id) @desc "The person's Github username" field(:username, :string) @desc "The person's name as per Github" field(:name, :string) @desc "The person's location as per Github" field(:location, :string) @desc "The URL of the person's Github avatar image" field(:avatar_url, :string) @desc "When this user was first imported into the faces app" field(:inserted_at, :datetime) @desc "When this user was last updated in the faces app" field(:updated_at, :datetime) end end