graphql-sources 1.5.2 → 1.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -6
- data/lib/graphql/sources/version.rb +1 -1
- metadata +6 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d66d75b5ecf94cd4df2b896016991ce5773af761f40a70d2812044ed5cf4575d
|
4
|
+
data.tar.gz: 2e31db5a99fad4a718c806423b1b129f5ba5295038c297e6e6dfc2a1ab8fbdf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34af5991aef6c59b5951425acfab21a4f0f8f646308d730102a066bc3f3ea40e674925524ab762d6400a632cec2623f3c7536021484e44a2e67ee4677a09dee8
|
7
|
+
data.tar.gz: 053c8e0fa78ddf062933f15e833e753cb02214ac65420bcd7df8ea8943781b2ca615abe43161f86b7161f76fff99a8e45d529a6b35d6683e3b1c91b444759c53
|
data/README.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# GraphQL::Sources
|
2
2
|
|
3
|
+
[](https://github.com/ksylvest/graphql-sources/blob/main/LICENSE)
|
4
|
+
[](https://rubygems.org/gems/graphql-sources)
|
5
|
+
[](https://github.com/ksylvest/graphql-sources)
|
6
|
+
[](https://graphql-sources.ksylvest.com)
|
7
|
+
[](https://circleci.com/gh/ksylvest/graphql-sources)
|
8
|
+
[](https://codeclimate.com/github/ksylvest/graphql-sources/maintainability)
|
9
|
+
[](https://codeclimate.com/github/ksylvest/graphql-sources/test_coverage)
|
10
|
+
|
11
|
+
`GraphQL::Sources` is a set of predefined dataloader classes build to avoid common n-plus-one issues in a GraphQL schema with Ruby. It supports loading `has_one`, `has_many`, `belongs_to`, `has_and_belongs_to_many`, `has_one_attached` and `has_many_attached` associations.
|
12
|
+
|
3
13
|
## Installation
|
4
14
|
|
5
15
|
Install the gem and add to the application's Gemfile by executing:
|
@@ -321,12 +331,6 @@ class UserType < GraphQL::Schema::Object
|
|
321
331
|
end
|
322
332
|
```
|
323
333
|
|
324
|
-
## Status
|
325
|
-
|
326
|
-
[](https://circleci.com/gh/ksylvest/graphql-sources)
|
327
|
-
[](https://codeclimate.com/github/ksylvest/graphql-sources/maintainability)
|
328
|
-
[](https://codeclimate.com/github/ksylvest/graphql-sources/test_coverage)
|
329
|
-
|
330
334
|
## License
|
331
335
|
|
332
336
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-sources
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Sylvestre
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-06 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: graphql
|
@@ -233,9 +232,9 @@ licenses:
|
|
233
232
|
- MIT
|
234
233
|
metadata:
|
235
234
|
homepage_uri: https://github.com/ksylvest/graphql-sources
|
236
|
-
source_code_uri: https://github.com/ksylvest/graphql-sources
|
237
|
-
changelog_uri: https://github.com/ksylvest/graphql-sources/
|
238
|
-
|
235
|
+
source_code_uri: https://github.com/ksylvest/graphql-sources/tree/v1.5.3
|
236
|
+
changelog_uri: https://github.com/ksylvest/graphql-sources/releases/tag/v1.5.3
|
237
|
+
documentation_uri: https://graphql-sources.ksylvest.com/
|
239
238
|
rdoc_options: []
|
240
239
|
require_paths:
|
241
240
|
- lib
|
@@ -250,8 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
250
249
|
- !ruby/object:Gem::Version
|
251
250
|
version: '0'
|
252
251
|
requirements: []
|
253
|
-
rubygems_version: 3.
|
254
|
-
signing_key:
|
252
|
+
rubygems_version: 3.6.2
|
255
253
|
specification_version: 4
|
256
254
|
summary: A set of common GraphQL DataLoader sources.
|
257
255
|
test_files: []
|