apollo-federation 3.6.3 → 3.6.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/apollo-federation/schema.rb +5 -1
- data/lib/apollo-federation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4cd2e7169071acfad2efc91a881ff435f2769d2512a77bc898687742238ccf0f
|
|
4
|
+
data.tar.gz: 0a18f66aecfa94e7b653503812d464f4900d5a0ba89a9f06e598cebc1a5e8990
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c3b8e04e0091382af8da1661b0f9d8dc2d9174321048991fee0eff357859c40588e83b99426407d852a9eb640e4b781506e49ba8abaa6acb55c2c5fe8e43798
|
|
7
|
+
data.tar.gz: f9ddc5ef1a13af0d247c8a90a62d48f292517a33c6cd8c6b1057aea8942f531005424e5fb89c22b7fe6f4769eae4dbf702bc8c4da69767bbd25bc9941e9ba143
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.6.4](https://github.com/Gusto/apollo-federation-ruby/compare/v3.6.3...v3.6.4) (2023-04-19)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* inherit Query type from schema superclass ([#241](https://github.com/Gusto/apollo-federation-ruby/issues/241)) ([0efb37e](https://github.com/Gusto/apollo-federation-ruby/commit/0efb37e2c2b14fc7ed99c695f35ed48d363d7695))
|
|
7
|
+
|
|
1
8
|
## [3.6.3](https://github.com/Gusto/apollo-federation-ruby/compare/v3.6.2...v3.6.3) (2023-04-12)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -46,7 +46,7 @@ module ApolloFederation
|
|
|
46
46
|
@orig_query_object = new_query_object
|
|
47
47
|
else
|
|
48
48
|
if !@federation_query_object
|
|
49
|
-
@federation_query_object = federation_query(
|
|
49
|
+
@federation_query_object = federation_query(original_query)
|
|
50
50
|
@federation_query_object.define_entities_field(schema_entities)
|
|
51
51
|
|
|
52
52
|
super(@federation_query_object)
|
|
@@ -58,6 +58,10 @@ module ApolloFederation
|
|
|
58
58
|
|
|
59
59
|
private
|
|
60
60
|
|
|
61
|
+
def original_query
|
|
62
|
+
@orig_query_object || find_inherited_value(:original_query)
|
|
63
|
+
end
|
|
64
|
+
|
|
61
65
|
def federation_2_prefix
|
|
62
66
|
federation_namespace = ", as: \"#{link_namespace}\"" if link_namespace != DEFAULT_LINK_NAMESPACE
|
|
63
67
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: apollo-federation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.6.
|
|
4
|
+
version: 3.6.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Noa Elad
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2023-04-
|
|
12
|
+
date: 2023-04-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: graphql
|