elasticgraph-apollo 0.19.3.0 → 0.19.3.1

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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/apollo_tests_implementation/Gemfile +1 -1
  4. data/apollo_tests_implementation/Rakefile +1 -1
  5. data/apollo_tests_implementation/config/products_schema.rb +1 -1
  6. data/apollo_tests_implementation/config.ru +1 -1
  7. data/apollo_tests_implementation/lib/product_resolver.rb +1 -1
  8. data/lib/elastic_graph/apollo/graphql/apollo_entity_ref_resolver.rb +1 -1
  9. data/lib/elastic_graph/apollo/graphql/engine_extension.rb +1 -1
  10. data/lib/elastic_graph/apollo/graphql/entities_field_resolver.rb +1 -1
  11. data/lib/elastic_graph/apollo/graphql/http_endpoint_extension.rb +1 -1
  12. data/lib/elastic_graph/apollo/graphql/service_field_resolver.rb +1 -1
  13. data/lib/elastic_graph/apollo/schema_definition/api_extension.rb +1 -1
  14. data/lib/elastic_graph/apollo/schema_definition/apollo_directives.rb +5 -5
  15. data/lib/elastic_graph/apollo/schema_definition/argument_extension.rb +1 -1
  16. data/lib/elastic_graph/apollo/schema_definition/entity_type_extension.rb +1 -1
  17. data/lib/elastic_graph/apollo/schema_definition/enum_type_extension.rb +1 -1
  18. data/lib/elastic_graph/apollo/schema_definition/enum_value_extension.rb +1 -1
  19. data/lib/elastic_graph/apollo/schema_definition/factory_extension.rb +1 -1
  20. data/lib/elastic_graph/apollo/schema_definition/field_extension.rb +1 -1
  21. data/lib/elastic_graph/apollo/schema_definition/input_type_extension.rb +1 -1
  22. data/lib/elastic_graph/apollo/schema_definition/interface_type_extension.rb +1 -1
  23. data/lib/elastic_graph/apollo/schema_definition/object_and_interface_extension.rb +1 -1
  24. data/lib/elastic_graph/apollo/schema_definition/object_type_extension.rb +1 -1
  25. data/lib/elastic_graph/apollo/schema_definition/scalar_type_extension.rb +1 -1
  26. data/lib/elastic_graph/apollo/schema_definition/state_extension.rb +1 -1
  27. data/lib/elastic_graph/apollo/schema_definition/union_type_extension.rb +1 -1
  28. metadata +24 -24
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9dfc6d3665fbade9f03f4f45fe835c4ed77a136eedc26b0540ee35f2d7e9de49
4
- data.tar.gz: 53356460e361d3c3438b2991f9455507cb7019228caafbffb5f577aa7245cf1f
3
+ metadata.gz: a2d82f236243b8a72360dacd0104971893fb1f5a0a02de01632c7fa140e05643
4
+ data.tar.gz: 4b81710dbb7cb2df069d012500d74d1e59fbce8b70be827b6eaa47ddeae52c3b
5
5
  SHA512:
6
- metadata.gz: de7a3784bf12bd0bd880e144bbd3022208a1d2f07277700a9b64b67fbd10314b4cdf9daf974661fa478e0ceffead64f6b610db8212a0cb365a529135693b00a8
7
- data.tar.gz: f2e5c81cb0b62c3d51e7c44ad7018e4d9b6b44b9c0b070297dd85c62836fc5b3cb70dd3f47a4612959f786c4837b3db61cbc4e0550a5b2ff6488b170542a9d91
6
+ metadata.gz: 516cd28ef27fe73b38fbf7d378f7060388f4ecc1f427de6097ed9bf7b1aa4d91a2b6f5364e8a36ccf08fa10656fbef83d004cd8981ff2de4d2684e32696b964d
7
+ data.tar.gz: 5f544bc177981670c4311a9ac8a3b9f6c45dbfbe5a74f07b400eeed91f8846e550fab857215fdd4fb6b3e2b4f7fc8a2a8f01d2555ab2fcc19e3a61d9470ebe25
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 - 2025 Block, Inc.
3
+ Copyright (c) 2024 - 2026 Block, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -157,13 +157,13 @@ module ElasticGraph
157
157
  # Adds the [`@policy` directive](https://www.apollographql.com/docs/federation/federated-types/federated-directives/#policy)
158
158
  # to the schema element.
159
159
  #
160
- # @param policies [Array<String>] List of authorization policies.
160
+ # @param policies [Array<Array<String>>] List of authorization policies to evaluate.
161
161
  # @return [void]
162
162
  #
163
163
  # @example Add `@policy` to a type
164
164
  # ElasticGraph.define_schema do |schema|
165
165
  # schema.object_type "Campaign" do |t|
166
- # t.apollo_policy policies: ["Policy1", "Policy2"]
166
+ # t.apollo_policy policies: [["Policy1", "Policy2"]]
167
167
  # end
168
168
  # end
169
169
  def apollo_policy(policies:)
@@ -227,14 +227,14 @@ module ElasticGraph
227
227
  # Adds the [`@requiresScopes` directive](https://www.apollographql.com/docs/federation/federated-types/federated-directives/#requiresscopes)
228
228
  # to the schema element.
229
229
  #
230
- # @param scopes [Array<String>] List of JWT scopes that must be granted to the user in order to access the underlying element data.
230
+ # @param scopes [Array<Array<String>>] List of JWT scopes that must be granted to the user in order to access the underlying element data.
231
231
  # @return [void]
232
232
  #
233
233
  # @example Add `@requiresScopes` to a field
234
234
  # ElasticGraph.define_schema do |schema|
235
235
  # schema.object_type "Product" do |t|
236
236
  # t.field "shippingEstimate", "String" do |f|
237
- # f.apollo_requires_scopes scopes: "shipping"
237
+ # f.apollo_requires_scopes scopes: [["shipping"]]
238
238
  # end
239
239
  # end
240
240
  # end
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-apollo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.3.0
4
+ version: 0.19.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
@@ -9,7 +9,7 @@ authors:
9
9
  - Block Engineering
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-06-20 00:00:00.000000000 Z
12
+ date: 1980-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: elasticgraph-graphql
@@ -17,42 +17,42 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.19.3.0
20
+ version: 0.19.3.1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.19.3.0
27
+ version: 0.19.3.1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: elasticgraph-support
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 0.19.3.0
34
+ version: 0.19.3.1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 0.19.3.0
41
+ version: 0.19.3.1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: graphql
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: 2.5.4
48
+ version: 2.6.6
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: 2.5.4
55
+ version: 2.6.6
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: apollo-federation
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -62,7 +62,7 @@ dependencies:
62
62
  version: '3.10'
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: 3.10.1
65
+ version: 3.10.3
66
66
  type: :runtime
67
67
  prerelease: false
68
68
  version_requirements: !ruby/object:Gem::Requirement
@@ -72,77 +72,77 @@ dependencies:
72
72
  version: '3.10'
73
73
  - - ">="
74
74
  - !ruby/object:Gem::Version
75
- version: 3.10.1
75
+ version: 3.10.3
76
76
  - !ruby/object:Gem::Dependency
77
77
  name: elasticgraph-schema_definition
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 0.19.3.0
82
+ version: 0.19.3.1
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 0.19.3.0
89
+ version: 0.19.3.1
90
90
  - !ruby/object:Gem::Dependency
91
91
  name: elasticgraph-admin
92
92
  requirement: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 0.19.3.0
96
+ version: 0.19.3.1
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 0.19.3.0
103
+ version: 0.19.3.1
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: elasticgraph-elasticsearch
106
106
  requirement: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 0.19.3.0
110
+ version: 0.19.3.1
111
111
  type: :development
112
112
  prerelease: false
113
113
  version_requirements: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.19.3.0
117
+ version: 0.19.3.1
118
118
  - !ruby/object:Gem::Dependency
119
119
  name: elasticgraph-opensearch
120
120
  requirement: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 0.19.3.0
124
+ version: 0.19.3.1
125
125
  type: :development
126
126
  prerelease: false
127
127
  version_requirements: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: 0.19.3.0
131
+ version: 0.19.3.1
132
132
  - !ruby/object:Gem::Dependency
133
133
  name: elasticgraph-indexer
134
134
  requirement: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: 0.19.3.0
138
+ version: 0.19.3.1
139
139
  type: :development
140
140
  prerelease: false
141
141
  version_requirements: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.19.3.0
145
+ version: 0.19.3.1
146
146
  email:
147
147
  - myron@squareup.com
148
148
  executables: []
@@ -188,10 +188,10 @@ licenses:
188
188
  - MIT
189
189
  metadata:
190
190
  bug_tracker_uri: https://github.com/block/elasticgraph/issues
191
- changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.3.0
192
- documentation_uri: https://block.github.io/elasticgraph/api-docs/v0.19.3.0/
191
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v0.19.3.1
192
+ documentation_uri: https://block.github.io/elasticgraph/api-docs/v0.19.3.1/
193
193
  homepage_uri: https://block.github.io/elasticgraph/
194
- source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.3.0/elasticgraph-apollo
194
+ source_code_uri: https://github.com/block/elasticgraph/tree/v0.19.3.1/elasticgraph-apollo
195
195
  gem_category: extension
196
196
  rdoc_options: []
197
197
  require_paths:
@@ -210,7 +210,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
210
210
  - !ruby/object:Gem::Version
211
211
  version: '0'
212
212
  requirements: []
213
- rubygems_version: 3.6.2
213
+ rubygems_version: 3.6.9
214
214
  specification_version: 4
215
215
  summary: An ElasticGraph extension that implements the Apollo federation spec.
216
216
  test_files: []