graphql_rails 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/graphql_rails/attributes/attributable.rb +3 -5
- data/lib/graphql_rails/version.rb +1 -1
- 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: 27f377528145c3e4c9a6ea37d7bf844531088ecb7b6471ca722f7f84655ca924
|
4
|
+
data.tar.gz: 3e6b29a745210a0ba453f0c158219013b007e3ef85c006f8eaf5665d5e095659
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2825a1b14839d9fbf8a5958826df14ffae4f9d74c0a4b71015c95d590a9493668b4780727da5b53a6e431397ca399caa3ebb76066e1629d5865660f8566eafb0
|
7
|
+
data.tar.gz: 3e97009f750ad27ebb66c92696d1cab5aca91dc660f35f340134ceff8b01c5f55cbb70c68247172c2604670cc45e6367deabb7d287ba0e54151d42b8057fb13a
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
9
9
|
|
10
10
|
* Added/Changed/Deprecated/Removed/Fixed/Security: YOUR CHANGE HERE
|
11
11
|
|
12
|
+
## [1.2.2](2021-02-19)
|
13
|
+
|
14
|
+
* Fixed: Incorrect type resolution for required list type fields in model declaration.
|
15
|
+
|
12
16
|
## [1.2.1](2021-02-17)
|
13
17
|
|
14
18
|
* Fixed: Incorrect scalar types resolution is fixed. No more `type mismatch between ID / ID`
|
data/Gemfile.lock
CHANGED
@@ -21,11 +21,9 @@ module GraphqlRails
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def required?
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
@required
|
28
|
-
end
|
24
|
+
return @required unless @required.nil?
|
25
|
+
|
26
|
+
attribute_name_parser.required? || !initial_type.to_s[/!$/].nil? || initial_type.is_a?(GraphQL::Schema::NonNull)
|
29
27
|
end
|
30
28
|
|
31
29
|
def required
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Povilas Jurčys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|