solis 0.120.0 → 0.121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 663d9c6ac4bec283d623346be498856494152c103c1f347a48a79cac7bc19662
4
- data.tar.gz: 65e2d8370f3e4ff4638e00293b522b6c4d927b91fcb95259dcb3e21e11c5ae39
3
+ metadata.gz: e8125aeb13e491c0d44821cca3c243754167473029057f2603455f7c8794a43b
4
+ data.tar.gz: 28f39b6a84d9cdb20a7f2a57729f570f2b0aa56a84d0a7864ad8a15a108e57b7
5
5
  SHA512:
6
- metadata.gz: b28a6189d553f6e444ebb33760ae7b29abe6ffc084995ba13c69b482a9fc9d562294f293671955e94111e915472aef7a419a2d4b5a9eb1b623dc15f149f9c9df
7
- data.tar.gz: 24c7b79c0f720b349ecf85c1832ee4e43f3a63d59ba208ce588faa6bf09ed68c09907f57a118832a8a9441e78fb318d7fd50d329d93956ec47b4be4862380a2c
6
+ metadata.gz: 66ee13e892ee4bcfd1d2d8c762a6dc9f014a1cee03339e3440bdad93fc8197550ef9c609993326193a611b8ef86d48d1c17c2d90e7d2b5d46bfa396f08b3015e
7
+ data.tar.gz: 351b8b1a0cb8939398f77ae05df71188dd844adb84424cb5a1abe453261e30a86c1d90f3293d3b1598d2acbb0f8052197fd0d5c01559fa257ebbf80f5ee4cdb3
data/lib/solis/model.rb CHANGED
@@ -806,7 +806,10 @@ values ?s {<#{self.graph_id}>}
806
806
  if original_klass.nil?
807
807
  original_klass = klass
808
808
  else
809
- resolve_all = false
809
+ # A store-fetched original carries id-only stub children, so its subgraph is
810
+ # not re-resolved. In the create path (skip_store_fetch) known_entities is
811
+ # pre-populated with full in-memory entities whose children must still be built.
812
+ resolve_all = false unless skip_store_fetch
810
813
  klass.instance_variables.map { |m| m.to_s.gsub(/^@/, '') }
811
814
  .select { |s| !["model_name", "model_plural_name"].include?(s) }.each do |attribute|
812
815
  data = klass.instance_variable_get("@#{attribute}")
data/lib/solis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Solis
2
- VERSION = "0.120.0"
2
+ VERSION = "0.121.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.120.0
4
+ version: 0.121.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mehmet Celik