_Service-redeploy3

This commit is contained in:
Tony Rewin 2023-10-06 12:57:08 +03:00
parent 32b00d5065
commit 177a47ba7c

View File

@ -14,7 +14,7 @@ def serialize_datetime(value):
@query.field("_service") @query.field("_service")
def resolve_service(*_): def resolve_service(*_):
# Load the full SDL from your SDL file # Load the full SDL from your SDL file
with open("schemas/core .graphql", "r") as file: with open("schemas/core.graphql", "r") as file:
full_sdl = file.read() full_sdl = file.read()
return {"sdl": full_sdl} return {"sdl": full_sdl}