ecoportal-api-graphql 0.3.16 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -1
- data/lib/ecoportal/api/graphql/logic/base_query.rb +2 -0
- data/lib/ecoportal/api/graphql/mutation/location_structure/apply_commands.rb +1 -1
- data/lib/ecoportal/api/graphql/payload/location_structure/command_execution_result.rb +1 -1
- data/lib/ecoportal/api/graphql_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: 53a6919bd12fe2569c78660a80f9ee90b8d23832b2dcb4d4d1cb1daeaf64c085
|
4
|
+
data.tar.gz: 812287102b4972106660f7983ca9bc1c803dcfef4c152b5fd3890b326954226d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845f6fc09d069ea63cdf465583b07fcb8ebfad0a8426059a0917a085809a08cda0ed35e5b4d0338fb917a330ba209af4039178dc823d7d686e106cb19aaf646f
|
7
|
+
data.tar.gz: f9699d1df470991e24fc9b262a711dea88986ece3fd5eab8cc2176e57b4637b236f7f9aac705768b49dbd398881d034904c5d2e247427c5356b196a65ca15a53
|
data/CHANGELOG.md
CHANGED
@@ -8,12 +8,23 @@ All notable changes to this project will be documented in this file.
|
|
8
8
|
- Analyse how to "DSL" currentOrganization.action.activities
|
9
9
|
- review `path` tracking
|
10
10
|
|
11
|
-
## [0.3.
|
11
|
+
## [0.3.19] - 2024-05-xx
|
12
12
|
|
13
13
|
### Added
|
14
14
|
### Changed
|
15
15
|
### Fixed
|
16
16
|
|
17
|
+
## [0.3.18] - 2024-05-16
|
18
|
+
|
19
|
+
### Fixed
|
20
|
+
- `Ecoportal::API::GraphQL::Payload::LocationStructure::CommandExecutionResult`
|
21
|
+
- Error is nullable
|
22
|
+
|
23
|
+
## [0.3.17] - 2024-05-14
|
24
|
+
|
25
|
+
### Fixed
|
26
|
+
- `field_name` should add up to the path
|
27
|
+
|
17
28
|
## [0.3.16] - 2024-04-29
|
18
29
|
|
19
30
|
### Added
|
@@ -65,6 +65,7 @@ module Ecoportal
|
|
65
65
|
result = @path
|
66
66
|
result ||= default_path if respond_to?(:default_path, true)
|
67
67
|
result ||= (base_path + [field_name]) if base_path && field_name
|
68
|
+
result ||= [field_name]
|
68
69
|
result
|
69
70
|
end
|
70
71
|
|
@@ -113,6 +114,7 @@ module Ecoportal
|
|
113
114
|
msg = "Complete failure on request. Path: #{path}\n#{response.to_h.pretty_inspect}"
|
114
115
|
raise msg
|
115
116
|
end
|
117
|
+
|
116
118
|
data = Ecoportal::API::Common::GraphQL::HashHelpers.deep_dup(res)
|
117
119
|
response_class.new(data)
|
118
120
|
end
|
@@ -5,7 +5,7 @@ module Ecoportal
|
|
5
5
|
module LocationStructure
|
6
6
|
class CommandExecutionResult < Ecoportal::API::GraphQL::Base::Model
|
7
7
|
embeds_one :command, klass: Ecoportal::API::GraphQL::Payload::LocationStructure::CommandInterface
|
8
|
-
embeds_one :error, klass: Ecoportal::API::GraphQL::Error::LocationsError
|
8
|
+
embeds_one :error, nullable: true, klass: Ecoportal::API::GraphQL::Error::LocationsError
|
9
9
|
passboolean :ok
|
10
10
|
end
|
11
11
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecoportal-api-graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oscar Segura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|