We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 352a783 commit 5183ae7Copy full SHA for 5183ae7
graphql/utilities/ast_from_value.py
@@ -30,7 +30,7 @@
30
31
__all__ = ["ast_from_value"]
32
33
-_re_integer_string = re.compile("^-?(0|[1-9][0-9]*)$")
+_re_integer_string = re.compile("^-?(?:0|[1-9][0-9]*)$")
34
35
36
def ast_from_value(value: Any, type_: GraphQLInputType) -> Optional[ValueNode]:
0 commit comments