apollo-federation 3.8.3 → 3.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +5 -2
- data/lib/apollo-federation/schema.rb +7 -10
- data/lib/apollo-federation/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e778c44a8fadd2ab03f538b0e0f797324326cebe29f2c9e060bec52b8cbc19ff
|
4
|
+
data.tar.gz: 6aad55e452075c59c724eee44939ff064d5cc52056a033001bebd8d4d210bfbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dab8945a3a3cc76ef896d035066430967bd67e30cd26dc15b0c1bce951257d09fed48a91957d7b4693d69af5a316a5e0c4d875a1464fd18566d1ce86e2647453
|
7
|
+
data.tar.gz: d136e708ffaf5f49e89f296532c7882fa28dd8d00fb81307440259b280c6a6e04388c6f8f6109491ab91e4a1efd46cd015d392e5d35a5ce15dcecc459644f2b0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## [3.8.5](https://github.com/Gusto/apollo-federation-ruby/compare/v3.8.4...v3.8.5) (2024-04-02)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* ensure query object is traversed ([#270](https://github.com/Gusto/apollo-federation-ruby/issues/270)) ([72cc8b7](https://github.com/Gusto/apollo-federation-ruby/commit/72cc8b7a384cb5c694970bc981384c631e71bc9b))
|
7
|
+
|
8
|
+
## [3.8.4](https://github.com/Gusto/apollo-federation-ruby/compare/v3.8.3...v3.8.4) (2023-10-30)
|
9
|
+
|
1
10
|
## [3.8.3](https://github.com/Gusto/apollo-federation-ruby/compare/v3.8.2...v3.8.3) (2023-07-20)
|
2
11
|
|
3
12
|
## [3.8.2](https://github.com/Gusto/apollo-federation-ruby/compare/v3.8.1...v3.8.2) (2023-07-11)
|
data/README.md
CHANGED
@@ -470,5 +470,8 @@ See discussion at [#74](https://github.com/Gusto/apollo-federation-ruby/issues/7
|
|
470
470
|
|
471
471
|
## Maintainers
|
472
472
|
|
473
|
-
|
474
|
-
- [
|
473
|
+
Gusto GraphQL Team:
|
474
|
+
- [Sara Laupp](https://github.com/slauppy)
|
475
|
+
- [Seth Copeland](https://github.com/sethc2)
|
476
|
+
- [Simon Coffin](https://github.com/simoncoffin)
|
477
|
+
- [Sofia Carrillo](https://github.com/sofie-c)
|
@@ -42,18 +42,15 @@ module ApolloFederation
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def query(new_query_object = nil)
|
45
|
-
if new_query_object
|
46
|
-
@orig_query_object = new_query_object
|
47
|
-
else
|
48
|
-
if !@federation_query_object
|
49
|
-
@federation_query_object = federation_query(original_query)
|
50
|
-
@federation_query_object.define_entities_field(schema_entities)
|
45
|
+
return super if new_query_object.nil? && @query_object
|
51
46
|
|
52
|
-
|
53
|
-
|
47
|
+
@orig_query_object = new_query_object
|
48
|
+
federation_query_object = federation_query(original_query)
|
49
|
+
federation_query_object.define_entities_field(schema_entities)
|
54
50
|
|
55
|
-
|
56
|
-
|
51
|
+
super(federation_query_object)
|
52
|
+
|
53
|
+
federation_query_object
|
57
54
|
end
|
58
55
|
|
59
56
|
private
|
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.8.
|
4
|
+
version: 3.8.5
|
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:
|
12
|
+
date: 2024-04-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: graphql
|
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: '0'
|
257
257
|
requirements: []
|
258
|
-
rubygems_version: 3.4
|
258
|
+
rubygems_version: 3.5.4
|
259
259
|
signing_key:
|
260
260
|
specification_version: 4
|
261
261
|
summary: A Ruby implementation of Apollo Federation
|