graphql 1.13.10 → 1.13.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/relay/range_add.rb +4 -0
- data/lib/graphql/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35f3cee96b43dd0aa0306c28a4c7261c76c5e0e0ff5dc0a78470a5b85d763725
|
4
|
+
data.tar.gz: e6729545ff0b5a7936144e21fe0976ea34270415cee90738de2ee47c3acb9e94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee21a26d3b66b2442aa4eb0eeac02ec38d8e5952d286cc7528842cbae690c7b2af1604b2212e856c44b4b8ff35662f8eb391b5119a46e66d77153d97202a90fd
|
7
|
+
data.tar.gz: b6af73d03526e261d3b36ebf4cd39b402e25f4d21294450005a4bd6319fa9f2b5fa592ca8af0014103d7fedcf45483e153187b99d87a4edf12d4105c69010ac5
|
@@ -35,6 +35,10 @@ module GraphQL
|
|
35
35
|
# @param context [GraphQL::Query::Context] The surrounding `ctx`, will be passed to the connection if provided (this is required for cursor encoders)
|
36
36
|
# @param edge_class [Class] The class to wrap `item` with (defaults to the connection's edge class)
|
37
37
|
def initialize(collection:, item:, parent: nil, context: nil, edge_class: nil)
|
38
|
+
if context.nil?
|
39
|
+
caller_loc = caller(2, 1).first
|
40
|
+
GraphQL::Deprecation.warn("`context: ...` will be required by `RangeAdd.new` in GraphQL-Ruby 2.0. Add `context: context` to the call at #{caller_loc}.")
|
41
|
+
end
|
38
42
|
if context && context.schema.new_connections?
|
39
43
|
conn_class = context.schema.connections.wrapper_for(collection)
|
40
44
|
# The rest will be added by ConnectionExtension
|
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.13.
|
4
|
+
version: 1.13.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Mosolgo
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: benchmark-ips
|
@@ -707,7 +707,7 @@ metadata:
|
|
707
707
|
source_code_uri: https://github.com/rmosolgo/graphql-ruby
|
708
708
|
bug_tracker_uri: https://github.com/rmosolgo/graphql-ruby/issues
|
709
709
|
mailing_list_uri: https://tinyletter.com/graphql-ruby
|
710
|
-
post_install_message:
|
710
|
+
post_install_message:
|
711
711
|
rdoc_options: []
|
712
712
|
require_paths:
|
713
713
|
- lib
|
@@ -722,8 +722,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
722
722
|
- !ruby/object:Gem::Version
|
723
723
|
version: '0'
|
724
724
|
requirements: []
|
725
|
-
rubygems_version: 3.
|
726
|
-
signing_key:
|
725
|
+
rubygems_version: 3.3.3
|
726
|
+
signing_key:
|
727
727
|
specification_version: 4
|
728
728
|
summary: A GraphQL language and runtime for Ruby
|
729
729
|
test_files: []
|