no-services
Some checks failed
deploy / deploy (push) Failing after 1m13s

This commit is contained in:
2023-12-02 13:59:25 +03:00
parent 905d03b9ed
commit ab3c271a6b
3 changed files with 38 additions and 15 deletions

View File

@@ -5,12 +5,12 @@ 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}
# @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]