graphiti-activegraph 0.1.4 → 0.1.5
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: 86e444b42125b6ca0ea4ee646da76b3aa49a2d3b3f4ff0f73ea1a4a251b90763
|
4
|
+
data.tar.gz: 0d7b9e6c6b0d1f9d51222726fdeedfa05d94bb9cb45594dbf407cdaccd984ec8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d60996c7490c1e05da9b878919fbe30457bdbbde8abd914c92375eedf223b09f3d0330a0ac37243633f1bcf74ca36805cea5842cb1ed9ee3883cb54f3b9efd81
|
7
|
+
data.tar.gz: 5e0029d82a7d93563a32dbf7a513092f800dcf1d1de875c5b3ccfed317543ea76d7707ee932512d2b9367f262089abb24ae86a8ad65368c0601a3363099c6c87
|
@@ -57,7 +57,7 @@ module Graphiti::ActiveGraph
|
|
57
57
|
original = Graphiti.context[:namespace]
|
58
58
|
begin
|
59
59
|
Graphiti.context[:namespace] = action
|
60
|
-
::Graphiti::RequestValidator.new(@resource, @payload.params).validate!
|
60
|
+
::Graphiti::RequestValidator.new(@resource, @payload.params, action).validate!
|
61
61
|
validator = persist {
|
62
62
|
@resource.persist_with_relationships \
|
63
63
|
@payload.meta(action: action),
|
@@ -6,7 +6,7 @@ module Graphiti::ActiveGraph
|
|
6
6
|
@query = query
|
7
7
|
@action = action
|
8
8
|
|
9
|
-
validator = ::Graphiti::RequestValidator.new(jsonapi_resource, params)
|
9
|
+
validator = ::Graphiti::RequestValidator.new(jsonapi_resource, params, action)
|
10
10
|
|
11
11
|
validator.validate! unless params[:skip_render_val]
|
12
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti-activegraph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hardik Joshi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphiti
|