foobara-remote-imports 0.0.7 → 0.0.8

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: 14960ddd884c70b7da1a13b4bdfca3d279e78a7adfcfac326ac48f1dd7b6d7a0
4
- data.tar.gz: 9ba3375256447c5011fce6eb3bcbd503715fd35ef472cda52338f9e6c8fc09d5
3
+ metadata.gz: 943d393b16e18d991fe5b3b4aa4ab09a8b2ca6e21e6d70b5b346b03dbaf2964b
4
+ data.tar.gz: 907118c1657c5bfdbc26c1a86b7b263fd80b993d25bafb0224c256e9df194356
5
5
  SHA512:
6
- metadata.gz: 232acb59d51f451b6213992c42c8295218075ef83803207a1868cff6c44d07a4dc4ca51de9221fa5c7f18aa530bfa1f2f73a722673cfdfc3c696a5803c636295
7
- data.tar.gz: 2acbfcc7c1e8177f28d244edfdc7fb6c1a73582446f2fdbac25af7272eb7136fb4552ea165e06637012f45473a15387eca6c804903fb1cd3e021ecf32e868a56
6
+ metadata.gz: 9f0e1e7f9e6332b417acd8afebd9966c6db2324859495c36f13caec3d3a4f63ed0cc469eda724df7b5555ce1b34558e31528c1edabe430eb99bd1f478ed7a02c
7
+ data.tar.gz: 344acd0f4d3af4554d12677a61a3b42b38e994bf94c372345bfc4f343e6863bdc7403cc55fc20921592329221ecda126e3677949230a00186745717a61b9ed72
data/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
- ## [0.0.7] - 2024-12-09
1
+ ## [0.0.8] - 2024-12-09
2
2
 
3
3
  - Convert entity into detached_entity when importing
4
+ - Convert detached entities to primary keys when casting remote command inputs
4
5
 
5
6
  ## [0.0.6] - 2024-12-07
6
7
 
@@ -64,8 +64,8 @@ module Foobara
64
64
  {}
65
65
  # :nocov:
66
66
  else
67
- data = inputs_type.declaration_data
68
- serializer = CommandConnectors::Serializers::EntitiesToPrimaryKeysSerializer.new(data)
67
+ serializer_class = CommandConnectors::Serializers::EntitiesToPrimaryKeysSerializer
68
+ serializer = serializer_class.new(detached_to_primary_key: true)
69
69
  serializer.serialize(raw_inputs)
70
70
  end
71
71
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-remote-imports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-09 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara