From c9d0263debe28649c1270cfc9e2fee0ca5bb4a93 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Sat, 8 Feb 2020 10:57:24 +0000 Subject: [PATCH] Use Undefined instead of INVALID --- graphene/types/inputfield.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graphene/types/inputfield.py b/graphene/types/inputfield.py index cf47b852..bf3538e3 100644 --- a/graphene/types/inputfield.py +++ b/graphene/types/inputfield.py @@ -1,4 +1,4 @@ -from graphql.error import INVALID +from graphql import Undefined from .mountedtype import MountedType from .structures import NonNull from .utils import get_type @@ -49,7 +49,7 @@ class InputField(MountedType): self, type, name=None, - default_value=INVALID, + default_value=Undefined, deprecation_reason=None, description=None, required=False,