graphql 2.0.19 → 2.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of graphql might be problematic. Click here for more details.

@@ -1,27 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module GraphQL
4
- module Types
5
- module Relay
6
- module DefaultRelay
7
- def self.extended(child_class)
8
- child_class.default_relay(true)
9
- end
10
-
11
- def default_relay(new_value)
12
- @default_relay = new_value
13
- end
14
-
15
- def default_relay?
16
- if defined?(@default_relay)
17
- @default_relay
18
- elsif self.is_a?(Class)
19
- superclass.respond_to?(:default_relay?) && superclass.default_relay?
20
- else
21
- false
22
- end
23
- end
24
- end
25
- end
26
- end
27
- end