Files
inbox/services/schema.py

17 lines
408 B
Python
Raw Normal View History

2023-12-17 20:13:17 +03:00
from ariadne import MutationType, QueryType
2023-10-05 00:43:07 +03:00
2023-10-06 12:49:22 +03:00
query = QueryType()
mutation = MutationType()
2023-12-01 22:56:50 -03:00
# duffok was here 2023-12-1
# This is a query resolver for Apollo Federation
2023-12-02 13:59:25 +03:00
# @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}
2023-12-01 22:56:50 -03:00
2023-10-14 18:11:17 +03:00
resolvers = [query, mutation]