🔥 initial commit 🔥

This commit is contained in:
2026-03-30 01:02:24 -04:00
commit cb179333f0
77 changed files with 6974 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
defmodule MixerWeb.GraphqlSchema do
use Absinthe.Schema
use AshGraphql,
domains: []
import_types Absinthe.Plug.Types
query do
# Custom Absinthe queries can be placed here
@desc """
Hello! This is a sample query to verify that AshGraphql has been set up correctly.
Remove me once you have a query of your own!
"""
field :say_hello, :string do
resolve fn _, _, _ ->
{:ok, "Hello from AshGraphql!"}
end
end
end
mutation do
# Custom Absinthe mutations can be placed here
end
subscription do
# Custom Absinthe subscriptions can be placed here
end
end