graphql-persisted_queries 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 +5 -0
- data/docs/http_cache.md +1 -1
- data/lib/graphql/persisted_queries/multiplex_resolver.rb +2 -1
- data/lib/graphql/persisted_queries/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: 9a59eccea67a31d0bf06dd13fcefddefb32cb339eefb2cd1967a7f3820571a18
|
|
4
|
+
data.tar.gz: 7d4d2edca6b0fde6f31787a425164e8fcc6cfa535ce62d0ba373ff45948192a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba9bba62ffdc7c3636a35114ca036329119f713ea091c21462c4713e1255c63df0bbd3070b696c5929e8e26fa3f251b79a92db2ec728c1837bb8a75628a4909f
|
|
7
|
+
data.tar.gz: cdcfef083e461d87148ac90762cefcf4bb5e1661b5735d552accfc66b981b011daf720cfefcf3032d3f9f94fe0f7a06b0362c0a720e4013be34f59d2e33a8193
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## master
|
|
4
4
|
|
|
5
|
+
## 🥳 1.0.1 (2020-06-25)
|
|
6
|
+
|
|
7
|
+
- [PR#34](https://github.com/DmitryTsepelev/graphql-ruby-persisted_queries/pull/34) Return GraphQL::Query::Result when raise error ([@ogidow ][])
|
|
8
|
+
|
|
5
9
|
## 🥳 1.0.0 (2020-03-31)
|
|
6
10
|
|
|
7
11
|
- [PR#30](https://github.com/DmitryTsepelev/graphql-ruby-persisted_queries/pull/30) **BREAKING CHANGE** Move extenstions to the query context ([@DmitryTsepelev][])
|
|
@@ -47,3 +51,4 @@
|
|
|
47
51
|
[@DmitryTsepelev]: https://github.com/DmitryTsepelev
|
|
48
52
|
[@bmorton]: https://github.com/bmorton
|
|
49
53
|
[@JanStevens]: https://github.com/JanStevens
|
|
54
|
+
[@ogidow]: https://github.com/ogidow
|
data/docs/http_cache.md
CHANGED
|
@@ -34,7 +34,8 @@ module GraphQL
|
|
|
34
34
|
|
|
35
35
|
query_params[:query] = Resolver.new(extensions, @schema).resolve(query_params[:query])
|
|
36
36
|
rescue Resolver::NotFound, Resolver::WrongHash => e
|
|
37
|
-
|
|
37
|
+
values = { "errors" => [{ "message" => e.message }] }
|
|
38
|
+
results[pos] = GraphQL::Query::Result.new(query: query_params[:query], values: values)
|
|
38
39
|
end
|
|
39
40
|
|
|
40
41
|
def perform_multiplex
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphql-persisted_queries
|
|
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
|
- DmitryTsepelev
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|