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.
2 parents 12b8ca7 + 0e439f3 commit 5158a16Copy full SHA for 5158a16
graphql/execution/tests/test_variables.py
@@ -141,6 +141,19 @@ def test_does_not_use_incorrect_value():
141
})
142
143
144
+def test_properly_runs_parse_literal_on_complex_scalar_types():
145
+ doc = '''
146
+ {
147
+ fieldWithObjectInput(input: {a: "foo", d: "SerializedValue"})
148
+ }
149
+ '''
150
+ check(doc, {
151
+ 'data': {
152
+ 'fieldWithObjectInput': '{"a": "foo", "d": "DeserializedValue"}',
153
154
+ })
155
+
156
157
# noinspection PyMethodMayBeStatic
158
class TestUsingVariables:
159
doc = '''
0 commit comments