schema-no-subs
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
from ariadne import MutationType, QueryType, SubscriptionType, ScalarType
|
from ariadne import MutationType, QueryType, ScalarType
|
||||||
|
|
||||||
|
|
||||||
datetime_scalar = ScalarType("DateTime")
|
datetime_scalar = ScalarType("DateTime")
|
||||||
@@ -11,5 +11,4 @@ def serialize_datetime(value):
|
|||||||
|
|
||||||
query = QueryType()
|
query = QueryType()
|
||||||
mutation = MutationType()
|
mutation = MutationType()
|
||||||
subscription = SubscriptionType()
|
resolvers = [query, mutation, datetime_scalar]
|
||||||
resolvers = [query, mutation, subscription, datetime_scalar]
|
|
||||||
|
|||||||
Reference in New Issue
Block a user