graphql-sources 1.1.2 → 1.2.0

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: 4e7c380fca740b89a1c8797745da617dd1d0b5eae2de11ca99cb2101b0b666e3
4
- data.tar.gz: ed39e7db2d5c1ae8cd4a3e723a8277e032f2994bc8c5616f765f8ab04da22034
3
+ metadata.gz: e4c4a0eb243aaeb9d8758eb240a5024388ddcc18ae7ea215dcaf85500983fccd
4
+ data.tar.gz: f50bb59ddc1deb73af6887929f2e8312292be726806d4a9e0391df7f23f7e29c
5
5
  SHA512:
6
- metadata.gz: 52d2c0a9b72c0a7cd283ac60854b6827f187bf2e581ff67b1c0ae4f5cf4695721bbd8d704f84f5e773ddcfc1f63a4cb9d68b27356c1e322e4b46e7c18d3dba57
7
- data.tar.gz: 6e4c3cdcd606af9d5bf43c99759459a80fe9812d7e16fb21340a66097fea9b7effc8b575111287ef6dac6ce3039e7199dceb84c34eef0818508337e80c79f8f9
6
+ metadata.gz: 8d7e3ee3f499619863e9296477cce3ca7d727d381947d9ab33a5df2389b4ed5e9e3ccb94ef7c1e52b24928a3299166731357117f50015a6486bb9125e3c809af
7
+ data.tar.gz: 84aa0af376e29d8f3575a18a3d0181668fb9d46df96b5d039c4396cdd4c3b6751124ed32b7a2202453ea83c45cc62263a081fd5df6a8cd4ff145cf80998f00a2
data/README.md CHANGED
@@ -37,7 +37,7 @@ end
37
37
 
38
38
  ```ruby
39
39
  class PurchaseType < GraphQL::Schema::Object
40
- field :customer, [CustomerTYpe], null: false
40
+ field :customer, [CustomerType], null: false
41
41
 
42
42
  def customer
43
43
  dataloader
@@ -147,7 +147,7 @@ class UserType < GraphQL::Schema::Object
147
147
 
148
148
  def photos
149
149
  dataloader
150
- .with(GraphQL::Sources::ActiveStorageHasOneAttached, :photos)
150
+ .with(GraphQL::Sources::ActiveStorageHasManyAttached, :photos)
151
151
  .load(object)
152
152
  end
153
153
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GraphQL
4
4
  module Sources
5
- VERSION = '1.1.2'
5
+ VERSION = '1.2.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-sources
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-02 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -234,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
234
234
  - !ruby/object:Gem::Version
235
235
  version: '0'
236
236
  requirements: []
237
- rubygems_version: 3.4.10
237
+ rubygems_version: 3.4.20
238
238
  signing_key:
239
239
  specification_version: 4
240
240
  summary: A set of common GraphQL DataLoader sources.