-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Queries in sidebar * Fix tests that broke when generator behavior changed
- Loading branch information
1 parent
222703c
commit 2aec020
Showing
10 changed files
with
88 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
--- | ||
title: Queries | ||
--- | ||
Every GraphQL schema has a root type for both queries and mutations. The [query type](http://spec.graphql.org/draft/#sec-Type-System) defines GraphQL operations that retrieve data from the server. | ||
Every GraphQL schema has a root type for both queries and mutations. | ||
|
||
The query type defines GraphQL operations that retrieve data from the server. | ||
|
||
For more information, see [the GraphQL spec](http://spec.graphql.org/draft/#sec-Type-System). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,3 @@ | ||
<h1><%= type[:name] %></h1> | ||
|
||
<%= type[:description] %> | ||
|
||
<% unless type[:connections].empty? %> | ||
|
||
<h2>Connections</h2> | ||
|
||
<%= include.('connections.html', connections: type[:connections]) %> | ||
|
||
<% end %> | ||
|
||
<% unless type[:fields].empty? %> | ||
|
||
<h2>Fields</h2> | ||
|
||
<%= include.('fields.html', fields: type[:fields]) %> | ||
|
||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<h1><%= type[:name] %></h1> | ||
|
||
<%= include.('notices.html', notices: type[:notices]) %> | ||
|
||
<%= type[:description] %> | ||
|
||
<% if !type[:arguments].empty? %> | ||
|
||
<h2>Arguments</h2> | ||
|
||
<%= include.('fields.html', fields: type[:arguments]) %> | ||
|
||
<% end %> | ||
|
||
|
||
<% if !type[:return_fields].empty? %> | ||
|
||
<h2>Return fields</h2> | ||
|
||
<%= include.('fields.html', fields: type[:return_fields]) %> | ||
|
||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters