graphql-relay 0.9.2 → 0.9.4

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
  SHA1:
3
- metadata.gz: 55d2f7666bd132151bd0c1426627f369d0f272b6
4
- data.tar.gz: 4c605da951545cc1bd53c5a326bdb29784a39a96
3
+ metadata.gz: c199461194766c4c44e820be0e346d2d59c529d3
4
+ data.tar.gz: 4beea3df70998080e39c4376a1f6c614c072b9db
5
5
  SHA512:
6
- metadata.gz: 846f5d4d7b1dba5972dabbd163ebf640869744c3f044fe105121a2afdcc025e63489184823faf961259ab8c151edda071b6fa78a6a8f6dca31ac17a84a82841c
7
- data.tar.gz: 2740ae5e2635701d04ac5e683b245fd195e1ec3a2d02760799eb7a3e6a06533bdcc65bdd913f492f42733ce716a6af6a7e989d6f57c819c1a6eac6a1700e2f92
6
+ metadata.gz: 2725c42809339124694f24f3d727788cef004177034530b0f1c3314c71dbae57f0b304fb8f242a8912a91c45b49a97840db02554a1663c3675f15b378c3869d2
7
+ data.tar.gz: 66a661d083405b52088527dbf1258e59959897ef184bc4764e4dec8df3c32cba6119add073c741ff6e9ac4de3a642cb473f261eba04dd945433cf131e4b290eb
data/README.md CHANGED
@@ -346,6 +346,7 @@ https://medium.com/@gauravtiwari/graphql-and-relay-on-rails-first-relay-powered-
346
346
  - `GlobalNodeIdentification.to_global_id` should receive the type name and _object_, not `id`. (Or, maintain the "`type_name, id` in, `type_name, id` out" pattern?)
347
347
  - Make GlobalId a property of the schema, not a global
348
348
  - Reduce duplication in ArrayConnection / RelationConnection
349
+ - Improve API for creating edges (better RANGE_ADD support)
349
350
 
350
351
  ## More Resources
351
352
 
@@ -40,7 +40,7 @@ module GraphQL
40
40
  GraphQL::InterfaceType.define do
41
41
  name "Node"
42
42
  field :id, !types.ID
43
- resolve_type -> (obj) {
43
+ resolve_type -> (obj, schema) {
44
44
  ident.type_from_object(obj)
45
45
  }
46
46
  end
@@ -1,5 +1,5 @@
1
1
  module GraphQL
2
2
  module Relay
3
- VERSION = '0.9.2'
3
+ VERSION = '0.9.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-relay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Mosolgo
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.12'
19
+ version: '0.13'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.12'
26
+ version: '0.13'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activerecord
29
29
  requirement: !ruby/object:Gem::Requirement