restore-struct
Some checks failed
Deploy to core / deploy (push) Failing after 7s

This commit is contained in:
2024-02-19 10:14:14 +03:00
parent 7b8e9fbea6
commit e6720ccaaf
2 changed files with 10 additions and 28 deletions

View File

@@ -1,24 +1,5 @@
from ariadne import MutationType, QueryType # , ScalarType
from ariadne import MutationType, QueryType
# datetime_scalar = ScalarType("DateTime")
query = QueryType()
mutation = MutationType()
# @datetime_scalar.serializer
# def serialize_datetime(value):
# return value.isoformat()
# NOTE: was used by studio
# @query.field("_service")
# def resolve_service(*_):
# # Load the full SDL from your SDL file
# with open("schemas/core.graphql", "r") as file:
# full_sdl = file.read()
#
# return {"sdl": full_sdl}
resolvers = [query, mutation] # , datetime_scalar]
resolvers = [query, mutation]