graphql 2.0.17.1 → 2.0.17.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
  SHA256:
3
- metadata.gz: 533ea1a2fb1db8e861f4c227c3b580a12952ee08006675a2132856091971b821
4
- data.tar.gz: 167f7d8de465ff655a1e5a14c159ad06347420f46954384075214b928ae145ac
3
+ metadata.gz: 5cbd730813400698874611de3530561d41834415405126cd11bbc9510355a7fd
4
+ data.tar.gz: 1d44a4cbf48dcda27e68a077ee8f15306e9aec7d8855b350c9244260140647c7
5
5
  SHA512:
6
- metadata.gz: c2b17a7bf459e836eee80146ccfbbec12e86c3dd795570fe632649946fb799a58708e006377a81097af980db6add831a453cd9a6c3aeb8df7c506cb04cb93fa8
7
- data.tar.gz: bb033a2d03d99488522e7f829bfd0914eae993f4abc0a0e2fa251380e338733767fb0d4bc4cde15298714f3c48bd900f050b98d98faef7587a68029d5b9d30ab
6
+ metadata.gz: 055e43980b9dac59a81824a4254410007ba73469c36ffdd426d8e960b04695c38cfe019e2147e9dca5dac4e6bb498c857810976691a3bf7c2da93cd4da3a5c73
7
+ data.tar.gz: 9572eba439a8a5dec10683dc6bd4c5d8516853d7e23da047d324b57d95c70485a742fbd79f25f9ee74111135006d667cb42d78243e21f06c1273d22fc21ed0f4
@@ -785,11 +785,7 @@ module GraphQL
785
785
  end
786
786
 
787
787
  if resolved_type.nil? || (resolved_type.is_a?(Module) && resolved_type.respond_to?(:kind))
788
- if resolved_value
789
- [resolved_type, resolved_value]
790
- else
791
- resolved_type
792
- end
788
+ [resolved_type, resolved_value]
793
789
  else
794
790
  raise ".resolve_type should return a type definition, but got #{resolved_type.inspect} (#{resolved_type.class}) from `resolve_type(#{type}, #{obj}, #{ctx})`"
795
791
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module GraphQL
3
- VERSION = "2.0.17.1"
3
+ VERSION = "2.0.17.2"
4
4
  end
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: 2.0.17.1
4
+ version: 2.0.17.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: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: benchmark-ips