graphql 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2fb4d91df18b66c7d1c4a9c712ee771aedb00655
|
4
|
+
data.tar.gz: c787072c016f6995c4742f086cabe05d6d8c931b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58bee87006d10dfc306e17733770d899a93113c5836e30bba8443330afd2131d49e1a35a24606e20a69762b16450a0b779c7cd5dba03b46d70fa880f7e3b560c
|
7
|
+
data.tar.gz: 6369f05cdb38c7d960abab0bd927794f122ac7d82e8c8c422d044ede6d5f099ccd28c532f044ae69a8b89af97306866720996ae1591142e8f9e93bfea89a0b24
|
@@ -418,6 +418,16 @@ module GraphQL
|
|
418
418
|
assert_equal false, res.key?("errors")
|
419
419
|
assert_equal [SpecificationSchema::BOGUS_NODE, SpecificationSchema::BOGUS_NODE], log
|
420
420
|
end
|
421
|
+
|
422
|
+
def test_it_skips_connections
|
423
|
+
query_type = GraphQL::ObjectType.define do
|
424
|
+
name "Query"
|
425
|
+
connection :skipped, types[query_type], resolve: ->(o,a,c) { c.skip }
|
426
|
+
end
|
427
|
+
schema = GraphQL::Schema.define(query: query_type)
|
428
|
+
res = schema.execute("{ skipped { __typename } }")
|
429
|
+
assert_equal({"data" => nil}, res)
|
430
|
+
end
|
421
431
|
end
|
422
432
|
end
|
423
433
|
end
|
data/lib/graphql/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|