inigorb 0.29.2 → 0.29.4
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.
- checksums.yaml +4 -4
- data/lib/inigorb/inigo-darwin-amd64.dylib +0 -0
- data/lib/inigorb/inigo-darwin-arm64.dylib +0 -0
- data/lib/inigorb/inigo-linux-amd64.so +0 -0
- data/lib/inigorb/inigo-linux-arm64.so +0 -0
- data/lib/inigorb/inigo-windows-amd64.dll +0 -0
- data/lib/inigorb/inigo-windows-arm64.dll +0 -0
- data/lib/inigorb/tracer.rb +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6eb96c42168977d65c282f532d82a2103b514f8e5db67645d37cadf8b1fc342b
|
|
4
|
+
data.tar.gz: e5857fd45e0d1186f24c8fefc1ab2e808d6db7ce3181a127dbe4a4a996f8f4a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e77fcbdf6b76e8ea5aaaac4d93d6c9030d907adade0069dc342e708dab309452c3e9cf86e95dec6ef75bc0cff4dbebd47f28478261cd1429f91e40dbe5eec31e
|
|
7
|
+
data.tar.gz: 25aa4858fdd36e10c20f81724ca36765da17465a0b58b7a548b15d2230e17a61b506dbeab3382e36061953a381879c92f9af261551a01a43aa1c7271ca6aff05
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/inigorb/tracer.rb
CHANGED
|
@@ -76,6 +76,12 @@ module Inigo
|
|
|
76
76
|
|
|
77
77
|
gReq['operationName'] = query.operation_name if query.operation_name && query.operation_name != ''
|
|
78
78
|
gReq['variables'] = query.variables.to_h if query.variables
|
|
79
|
+
# when operation registry is enabled and query string is absent query.variables is empty property as
|
|
80
|
+
# there is an error on query that query string is missing.
|
|
81
|
+
# query.variables is basically a method that provides a hash of variables provided and query default variables.
|
|
82
|
+
# in case with operation registry we don't have a string and should use only provided vars.
|
|
83
|
+
gReq['variables'] = query.provided_variables if query.query_string.nil? || query.query_string.empty?
|
|
84
|
+
gReq['extensions'] = query.context[:extensions] if query.context[:extensions]
|
|
79
85
|
|
|
80
86
|
q = Query.new(self.class.instance, JSON.dump(gReq))
|
|
81
87
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inigorb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.29.
|
|
4
|
+
version: 0.29.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Inigo
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jwt
|