Use Undefined instead of INVALID

This commit is contained in:
Jonathan Kim 2020-02-08 10:57:24 +00:00
parent b055241cba
commit c9d0263deb

View File

@ -1,4 +1,4 @@
from graphql.error import INVALID from graphql import Undefined
from .mountedtype import MountedType from .mountedtype import MountedType
from .structures import NonNull from .structures import NonNull
from .utils import get_type from .utils import get_type
@ -49,7 +49,7 @@ class InputField(MountedType):
self, self,
type, type,
name=None, name=None,
default_value=INVALID, default_value=Undefined,
deprecation_reason=None, deprecation_reason=None,
description=None, description=None,
required=False, required=False,