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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b175cdd3201d457052bcdbabc8352bb6efdd0dc
4
- data.tar.gz: 8baef1493952ee4949b0640831c6d6d35631812f
3
+ metadata.gz: d7b0b17454ee9c8e6c9b1ab668378cf76062db62
4
+ data.tar.gz: af37c98aa0f113e94a9f0209bce6d047625c29c9
5
5
  SHA512:
6
- metadata.gz: 3d65ddbeb161917a2dc1c495eaa8b83397ed0c706b48163e1dd3de97c15483ece83d1fde164cfb0a347fe84df6a0a2583c8d7987c2043674303053fd6f9cd77e
7
- data.tar.gz: 9dd17ad77f9910fdef2a5b43043e2cc52583ca4085236a7ab4358a92d60331d93827ed09a72bce9cae41911c85cf044212e67961ca1d6652c8c6e9942363aa24
6
+ metadata.gz: d1e0ffd1244927aa10b55c7f481300cfa3d0bfb3ed5c8e0bfd47738c5678cc266cc53b2b61f84cd5e45e5f01fd736bbcbe5122cac4ec103acacd08077ef3c37c
7
+ data.tar.gz: ea98a326f693d21407a28ee1b2f57cd5e17ce5f4bb53e486143ad1515dc76e1a884d0146ca6025cbd5f7dd5a8b4a8a5ce5241796a0e149e13bad35e6132ccab7
@@ -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!
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.0.beta.8"
2
+ VERSION = "1.0.beta.9"
3
3
  end
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.8
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-26 00:00:00.000000000 Z
11
+ date: 2018-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jsonapi-serializable