defmodule TheScratch.Schema do
  @moduledoc """
  GraphQL Schema
  """

  alias TheScratch.UserResolver

  use Absinthe.Schema
  import_types TheScratch.Schema.Types

  query do
    field :users, list_of(:user) do
      resolve &TUserResolver.all/2
    end
  end

end

defmodule TheScratch.Schema do
  @moduledoc """
  GraphQL Schema
  """

  alias TheScratch.UserResolver

  use Absinthe.Schema
  import_types TheScratch.Schema.Types

  query do
    field :users, list_of(:user) do
      resolve &UserResolver.all/2
    end
  end

end

Fix typo TUserResolver -> UserResolver
Fix typo TUserResolver -> UserResolver

korczis/the-scratch,korczis/the-scratch,korczis/the-scratch