souls 0.64.2 → 0.64.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a33999e189283758881dbe8f9d0a7222580ca0b359363d845142aecc6faf63
|
4
|
+
data.tar.gz: addf19b1163e5ae31937b0fe49ce464ed4de286d1edc013385a968dd721f858d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f19ae2ed49b96c8ac03e5944c79ac9f0cd8da0a4e7875660c83236c0cc645c16f064c4f97fa53d1b7c9ee3ae61ad9648c1cd3a4f84c038034ed57743cca7edc2
|
7
|
+
data.tar.gz: e95ee79d899afb8a255018c6d0da216e400f0689690cb2d1cc4a83f30c644ee7f2d7d35597f17a0ab07db1e887b1e0b29e7d786c51ab6d620351384f07b65d8d
|
@@ -44,6 +44,7 @@ module Souls
|
|
44
44
|
params[:params].each_with_index do |param, i|
|
45
45
|
type = Souls.type_check(param[:type])
|
46
46
|
type = "[#{type}]" if param[:array]
|
47
|
+
type = "String" if param[:column_name].match?(/$*_id\z/)
|
47
48
|
if i == params[:params].size - 1
|
48
49
|
f.write(" argument :#{param[:column_name]}, #{type}, required: false\n\n")
|
49
50
|
f.write(" def resolve(args)\n")
|
@@ -59,7 +60,7 @@ module Souls
|
|
59
60
|
params[:relation_params].each_with_index do |col, _i|
|
60
61
|
next if col[:column_name] == "user_id"
|
61
62
|
|
62
|
-
f.write("
|
63
|
+
f.write(" _, #{col[:column_name]} = SoulsApiSchema.from_global_id(args[:#{col[:column_name]}])\n")
|
63
64
|
end
|
64
65
|
relation_params =
|
65
66
|
params[:relation_params].map do |n|
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.43.
|
1
|
+
0.43.3
|
@@ -1 +1 @@
|
|
1
|
-
0.43.
|
1
|
+
0.43.3
|