We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5ff57c commit 70c4190Copy full SHA for 70c4190
tests/starwars/test_dsl.py
@@ -264,9 +264,15 @@ def test_multiple_operations(ds):
264
),
265
)
266
267
+ """
268
+ From graphql-core version 3.1.5, print_ast() break arguments over multiple lines
269
+ Accepting both cases here
270
271
+
272
assert (
- print_ast(query)
- == """query GetHeroName {
273
+ (
274
+ print_ast(query)
275
+ == """query GetHeroName {
276
hero {
277
name
278
}
@@ -280,6 +286,26 @@ def test_multiple_operations(ds):
280
286
281
287
282
288
"""
289
+ )
290
+ or (
291
292
293
+ hero {
294
+ name
295
+ }
296
+}
297
298
+mutation CreateReviewMutation {
299
+ createReview(
300
+ episode: JEDI
301
+ review: {stars: 5, commentary: "This is a great movie!"}
302
+ ) {
303
+ stars
304
+ commentary
305
306
307
+"""
308
283
309
284
310
285
311
0 commit comments