graphql-extras 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/extras/test/schema.rb +5 -1
- data/lib/graphql/extras/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e3623c136fc05eae999805634c1b25872fdbe1948e57eb2bede7b420c50b45a
|
4
|
+
data.tar.gz: 3d779144687c43c43f2de6fbca4724f226a026da3c3c9555547a8d4e02b1a208
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 667baac08b7eff4d2a81f520c81e2d3abecb7f0ca5ba19511c0a2d286f3a58698ba0d7747067b91ada5c61ea8fe3db15f0736259b47e30402c2c9f8a6a6dccbd
|
7
|
+
data.tar.gz: 8c8556f6ee4b8660ce3f07b0fe9c047c5c822ec9b1e7e0f9d0387f47e1a0f57167bf2ebad31c8f8a1ae47a76f57084994b2052a9e2d9a716b17471e3cca73d3f
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require "securerandom"
|
2
2
|
require "active_support/inflector"
|
3
|
-
require "active_support/core_ext/hash
|
3
|
+
require "active_support/core_ext/hash"
|
4
4
|
require "graphql/extras/test/loader"
|
5
5
|
require "graphql/extras/test/response"
|
6
6
|
|
@@ -33,6 +33,10 @@ module GraphQL
|
|
33
33
|
def __execute(schema, query, variables)
|
34
34
|
uploads = {}
|
35
35
|
|
36
|
+
variables = variables.deep_transform_keys do |key|
|
37
|
+
key.to_s.camelize(:lower)
|
38
|
+
end
|
39
|
+
|
36
40
|
variables = variables.deep_transform_values do |value|
|
37
41
|
if value.respond_to? :tempfile
|
38
42
|
id = SecureRandom.uuid
|