apollo-federation 1.0.0 → 1.0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +2 -0
- data/lib/apollo-federation/schema.rb +3 -5
- data/lib/apollo-federation/service_field.rb +1 -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: 5447e41edfbfe54ff9555f72f648b65d6b8bcfd424e869d39ec728b34e44ffac
|
|
4
|
+
data.tar.gz: 3eff395ab5a52ebfd54b4668ce309354c45f0c4a7c6e90a509dd13f462e0cb3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 51cd3316349b31c17e068e43dff5297598457eba6f56b12aedb303a3f792cec01a960e537dd757e10bba4ca477cf4da2cce3492c56ad50231b3459db8ee38d1d
|
|
7
|
+
data.tar.gz: 8d24372e4ab0d6f916089b95a8be62ce166dbed95f6afd5c65bbc09d2d91b2bd063fcc13cdbf9d2403b3875741113f6c34e8e9105955736a5fb51a3b97d5d890
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.0.1](https://github.com/Gusto/apollo-federation-ruby/compare/v1.0.0...v1.0.1) (2020-01-29)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Send context to SDL generation / don't cache ([#45](https://github.com/Gusto/apollo-federation-ruby/issues/45)) ([9a29be1](https://github.com/Gusto/apollo-federation-ruby/commit/9a29be1))
|
|
7
|
+
|
|
1
8
|
# [1.0.0](https://github.com/Gusto/apollo-federation-ruby/compare/v0.5.1...v1.0.0) (2019-12-09)
|
|
2
9
|
|
|
3
10
|
|
data/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# apollo-federation
|
|
2
2
|
|
|
3
|
+
[](https://circleci.com/gh/Gusto/apollo-federation-ruby/tree/master)
|
|
4
|
+
|
|
3
5
|
This gem extends the [GraphQL Ruby](http://graphql-ruby.org/) gem to add support for creating an [Apollo Federation](https://www.apollographql.com/docs/apollo-server/federation/introduction/) schema.
|
|
4
6
|
|
|
5
7
|
## DISCLAIMER
|
|
@@ -47,11 +47,9 @@ module ApolloFederation
|
|
|
47
47
|
super
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
def federation_sdl
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
GraphQL::Language::Printer.new.print(document_from_schema.document)
|
|
54
|
-
end
|
|
50
|
+
def federation_sdl(context: nil)
|
|
51
|
+
document_from_schema = FederatedDocumentFromSchemaDefinition.new(self, context: context)
|
|
52
|
+
GraphQL::Language::Printer.new.print(document_from_schema.document)
|
|
55
53
|
end
|
|
56
54
|
end
|
|
57
55
|
end
|
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: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
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: 2020-01-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: graphql
|