graphql-stitching 1.5.0 → 1.5.2

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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +6 -8
  3. data/Gemfile +1 -0
  4. data/README.md +60 -20
  5. data/docs/client.md +6 -0
  6. data/docs/composer.md +7 -6
  7. data/docs/federation_entities.md +1 -1
  8. data/docs/mechanics.md +1 -43
  9. data/docs/request.md +10 -10
  10. data/docs/subscriptions.md +11 -11
  11. data/docs/supergraph.md +5 -5
  12. data/docs/{resolver.md → type_resolver.md} +3 -3
  13. data/examples/subscriptions/app/graphql/subscriptions_schema.rb +3 -3
  14. data/gemfiles/graphql_2.0.0.gemfile +4 -1
  15. data/gemfiles/graphql_2.1.0.gemfile +4 -1
  16. data/gemfiles/graphql_2.2.0.gemfile +4 -1
  17. data/gemfiles/graphql_2.3.0.gemfile +9 -0
  18. data/graphql-stitching.gemspec +1 -1
  19. data/lib/graphql/stitching/client.rb +5 -7
  20. data/lib/graphql/stitching/composer/{resolver_config.rb → type_resolver_config.rb} +2 -2
  21. data/lib/graphql/stitching/composer/{validate_resolvers.rb → validate_type_resolvers.rb} +1 -1
  22. data/lib/graphql/stitching/composer.rb +28 -20
  23. data/lib/graphql/stitching/executor/shaper.rb +4 -4
  24. data/lib/graphql/stitching/executor/{resolver_source.rb → type_resolver_source.rb} +4 -4
  25. data/lib/graphql/stitching/executor.rb +5 -5
  26. data/lib/graphql/stitching/planner/step.rb +1 -1
  27. data/lib/graphql/stitching/planner.rb +16 -20
  28. data/lib/graphql/stitching/request/skip_include.rb +1 -1
  29. data/lib/graphql/stitching/request.rb +3 -7
  30. data/lib/graphql/stitching/supergraph/to_definition.rb +3 -3
  31. data/lib/graphql/stitching/supergraph.rb +1 -6
  32. data/lib/graphql/stitching/{resolver → type_resolver}/arguments.rb +6 -6
  33. data/lib/graphql/stitching/{resolver → type_resolver}/keys.rb +1 -1
  34. data/lib/graphql/stitching/{resolver.rb → type_resolver.rb} +4 -4
  35. data/lib/graphql/stitching/version.rb +1 -1
  36. data/lib/graphql/stitching.rb +20 -3
  37. metadata +12 -12
  38. data/gemfiles/graphql_1.13.9.gemfile +0 -6
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-stitching
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg MacWilliam
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2025-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.13.9
19
+ version: '2.0'
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: 1.13.9
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -89,9 +89,9 @@ files:
89
89
  - docs/images/stitching.png
90
90
  - docs/mechanics.md
91
91
  - docs/request.md
92
- - docs/resolver.md
93
92
  - docs/subscriptions.md
94
93
  - docs/supergraph.md
94
+ - docs/type_resolver.md
95
95
  - examples/file_uploads/Gemfile
96
96
  - examples/file_uploads/Procfile
97
97
  - examples/file_uploads/README.md
@@ -151,36 +151,36 @@ files:
151
151
  - examples/subscriptions/public/apple-touch-icon.png
152
152
  - examples/subscriptions/public/favicon.ico
153
153
  - examples/subscriptions/public/robots.txt
154
- - gemfiles/graphql_1.13.9.gemfile
155
154
  - gemfiles/graphql_2.0.0.gemfile
156
155
  - gemfiles/graphql_2.1.0.gemfile
157
156
  - gemfiles/graphql_2.2.0.gemfile
157
+ - gemfiles/graphql_2.3.0.gemfile
158
158
  - graphql-stitching.gemspec
159
159
  - lib/graphql/stitching.rb
160
160
  - lib/graphql/stitching/client.rb
161
161
  - lib/graphql/stitching/composer.rb
162
162
  - lib/graphql/stitching/composer/base_validator.rb
163
- - lib/graphql/stitching/composer/resolver_config.rb
163
+ - lib/graphql/stitching/composer/type_resolver_config.rb
164
164
  - lib/graphql/stitching/composer/validate_interfaces.rb
165
- - lib/graphql/stitching/composer/validate_resolvers.rb
165
+ - lib/graphql/stitching/composer/validate_type_resolvers.rb
166
166
  - lib/graphql/stitching/executor.rb
167
- - lib/graphql/stitching/executor/resolver_source.rb
168
167
  - lib/graphql/stitching/executor/root_source.rb
169
168
  - lib/graphql/stitching/executor/shaper.rb
169
+ - lib/graphql/stitching/executor/type_resolver_source.rb
170
170
  - lib/graphql/stitching/http_executable.rb
171
171
  - lib/graphql/stitching/plan.rb
172
172
  - lib/graphql/stitching/planner.rb
173
173
  - lib/graphql/stitching/planner/step.rb
174
174
  - lib/graphql/stitching/request.rb
175
175
  - lib/graphql/stitching/request/skip_include.rb
176
- - lib/graphql/stitching/resolver.rb
177
- - lib/graphql/stitching/resolver/arguments.rb
178
- - lib/graphql/stitching/resolver/keys.rb
179
176
  - lib/graphql/stitching/supergraph.rb
180
177
  - lib/graphql/stitching/supergraph/key_directive.rb
181
178
  - lib/graphql/stitching/supergraph/resolver_directive.rb
182
179
  - lib/graphql/stitching/supergraph/source_directive.rb
183
180
  - lib/graphql/stitching/supergraph/to_definition.rb
181
+ - lib/graphql/stitching/type_resolver.rb
182
+ - lib/graphql/stitching/type_resolver/arguments.rb
183
+ - lib/graphql/stitching/type_resolver/keys.rb
184
184
  - lib/graphql/stitching/util.rb
185
185
  - lib/graphql/stitching/version.rb
186
186
  homepage: https://github.com/gmac/graphql-stitching-ruby
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
- gemspec
5
-
6
- gem 'graphql', '~> 1.13.9'