17 lines
408 B
Python
17 lines
408 B
Python
from ariadne import MutationType, QueryType
|
|
|
|
query = QueryType()
|
|
mutation = MutationType()
|
|
|
|
# duffok was here 2023-12-1
|
|
# This is a query resolver for Apollo Federation
|
|
# @query.field("_service")
|
|
# def resolve_service(*_):
|
|
# # Load the full SDL from your SDL file
|
|
# with open("inbox.graphql", "r") as file:
|
|
# full_sdl = file.read()
|
|
#
|
|
# return {"sdl": full_sdl}
|
|
|
|
resolvers = [query, mutation]
|