chore: apply credo suggestions (#3)
Some checks reported errors
continuous-integration/drone/push Build encountered an error

Mainly add module docs and fix some aliases.
This commit is contained in:
2022-04-22 00:49:00 +00:00
parent 49bafee50c
commit 410a509faa
20 changed files with 67 additions and 13 deletions

View File

@@ -1,4 +1,7 @@
defmodule WabanexWeb.Resolvers.User do
@moduledoc """
GraphQL resolver for user operations.
"""
alias Wabanex.Users
def get(%{id: user_id}, _context), do: Users.Get.call(user_id)