feat: right schema in schema.py

This commit is contained in:
Stepan Vladovskiy 2023-10-06 06:05:01 -03:00
parent 6d56e8b3a7
commit fada9a289a

View File

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