feat: right schema in schema.py

This commit is contained in:
Stepan Vladovskiy 2023-10-06 06:02:11 -03:00
parent c5ea08f939
commit 6d56e8b3a7

View File

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