graphiti_graphql 0.1.0 → 0.1.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/lib/graphiti_graphql.rb +2 -0
- data/lib/graphiti_graphql/engine.rb +7 -3
- data/lib/graphiti_graphql/schema.rb +1 -0
- data/lib/graphiti_graphql/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: f3636c8634e8e8798b5faa86fed69735c02be79903ecca7f4fb09418786756f1
|
|
4
|
+
data.tar.gz: 6ce1f38785202d1fb6972152731ef5f535fd4f3514f8996eb60f1abc13431ea0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45796a4cde424e1fcec4d8eef45238fb52d4fb4d0980c067dbd8321a9dd1b9e3f5d487a3125d9fe0b50bb0d2a452bf79520e5cee4438ee7f31da229c51b70e98
|
|
7
|
+
data.tar.gz: c1f7707ea8591be326b7a371b797bd15a969cdf5c115e35892966c310dcb75be656d4a81b408b6c72d83a192a3d0dc69042b91a6006d3220b9fa31a8134eb004
|
data/lib/graphiti_graphql.rb
CHANGED
|
@@ -51,8 +51,10 @@ module GraphitiGraphQL
|
|
|
51
51
|
# We store a list of all federated relationships
|
|
52
52
|
# Clear that list when classes are cleared so we don't keep appending
|
|
53
53
|
initializer "graphiti_graphql.clear_federation" do |app|
|
|
54
|
-
GraphitiGraphQL::
|
|
55
|
-
GraphitiGraphQL::
|
|
54
|
+
if defined?(GraphitiGraphQL::Federation)
|
|
55
|
+
GraphitiGraphQL::Engine.reloader_class.after_class_unload do
|
|
56
|
+
GraphitiGraphQL::Federation.clear!
|
|
57
|
+
end
|
|
56
58
|
end
|
|
57
59
|
end
|
|
58
60
|
|
|
@@ -83,7 +85,9 @@ module GraphitiGraphQL
|
|
|
83
85
|
end
|
|
84
86
|
|
|
85
87
|
initializer "graphiti_graphql.federation" do
|
|
86
|
-
GraphitiGraphQL::Federation
|
|
88
|
+
if defined?(GraphitiGraphQL::Federation)
|
|
89
|
+
GraphitiGraphQL::Federation.setup!
|
|
90
|
+
end
|
|
87
91
|
end
|
|
88
92
|
end
|
|
89
93
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphiti_graphql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lee Richmond
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|