graphiti 1.0.beta.8 → 1.0.beta.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/scope.rb +2 -0
- data/lib/graphiti/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7b0b17454ee9c8e6c9b1ab668378cf76062db62
|
4
|
+
data.tar.gz: af37c98aa0f113e94a9f0209bce6d047625c29c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1e0ffd1244927aa10b55c7f481300cfa3d0bfb3ed5c8e0bfd47738c5678cc266cc53b2b61f84cd5e45e5f01fd736bbcbe5122cac4ec103acacd08077ef3c37c
|
7
|
+
data.tar.gz: ea98a326f693d21407a28ee1b2f57cd5e17ce5f4bb53e486143ad1515dc76e1a884d0146ca6025cbd5f7dd5a8b4a8a5ce5241796a0e149e13bad35e6132ccab7
|
data/lib/graphiti/scope.rb
CHANGED
@@ -63,7 +63,9 @@ module Graphiti
|
|
63
63
|
@query.sideloads.each_pair do |name, q|
|
64
64
|
sideload = @resource.class.sideload(name)
|
65
65
|
_parent = @resource
|
66
|
+
_context = Graphiti.context
|
66
67
|
resolve_sideload = -> {
|
68
|
+
Graphiti.context = _context
|
67
69
|
sideload.resolve(results, q, _parent)
|
68
70
|
if concurrent && defined?(ActiveRecord)
|
69
71
|
ActiveRecord::Base.clear_active_connections!
|
data/lib/graphiti/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphiti
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.beta.
|
4
|
+
version: 1.0.beta.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lee Richmond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jsonapi-serializable
|