├── 2016-04-19 ├── graphql-shorthand-notation-cheat-sheet.pdf └── graphql-shorthand-notation-cheat-sheet.png ├── 2016-06-10 ├── graphql-shorthand-notation-cheat-sheet.pdf └── graphql-shorthand-notation-cheat-sheet.png ├── LICENSE ├── README.md ├── graphql-shorthand-notation-cheat-sheet.pdf └── graphql-shorthand-notation-cheat-sheet.png /2016-04-19/graphql-shorthand-notation-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sogko/graphql-schema-language-cheat-sheet/5e20d55ec1a1a5905fbec2a72a9a2c651c735ae7/2016-04-19/graphql-shorthand-notation-cheat-sheet.pdf -------------------------------------------------------------------------------- /2016-04-19/graphql-shorthand-notation-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sogko/graphql-schema-language-cheat-sheet/5e20d55ec1a1a5905fbec2a72a9a2c651c735ae7/2016-04-19/graphql-shorthand-notation-cheat-sheet.png -------------------------------------------------------------------------------- /2016-06-10/graphql-shorthand-notation-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sogko/graphql-schema-language-cheat-sheet/5e20d55ec1a1a5905fbec2a72a9a2c651c735ae7/2016-06-10/graphql-shorthand-notation-cheat-sheet.pdf -------------------------------------------------------------------------------- /2016-06-10/graphql-shorthand-notation-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sogko/graphql-schema-language-cheat-sheet/5e20d55ec1a1a5905fbec2a72a9a2c651c735ae7/2016-06-10/graphql-shorthand-notation-cheat-sheet.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016 Hafiz Ismail 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GraphQL Schema Language Cheat Sheet 2 | _The definitive guide to express your GraphQL schema succinctly_ 3 | 4 | Original article available at: https://wehavefaces.net/graphql-shorthand-notation-cheatsheet-17cd715861b6 5 | 6 | ![https://raw.githubusercontent.com/sogko/graphql-shorthand-notation-cheat-sheet/master/graphql-shorthand-notation-cheat-sheet.png](https://raw.githubusercontent.com/sogko/graphql-shorthand-notation-cheat-sheet/master/graphql-shorthand-notation-cheat-sheet.png) 7 | 8 | 9 | ## Downloads 10 | - [PDF](https://github.com/sogko/graphql-shorthand-notation-cheat-sheet/raw/master/graphql-shorthand-notation-cheat-sheet.pdf) 11 | - [PNG](https://raw.githubusercontent.com/sogko/graphql-shorthand-notation-cheat-sheet/master/graphql-shorthand-notation-cheat-sheet.png) 12 | 13 | ## Release notes 14 | __28 Jan 2017__ 15 | - Fixes issue [#4](https://github.com/sogko/graphql-shorthand-notation-cheat-sheet/issues/4): Fixed typo in `enum` example. 16 | - Fixes issue [#3](https://github.com/sogko/graphql-shorthand-notation-cheat-sheet/issues/3): Added `comments` example. 17 | - Fixes issue [#2](https://github.com/sogko/graphql-shorthand-notation-cheat-sheet/issues/2): Added `schema` type. 18 | 19 | __10 Jun 2016__ 20 | - Fixes issue [#1](https://github.com/sogko/graphql-shorthand-notation-cheat-sheet/issues/1): `[Users]` should be `[User]`. 21 | 22 | __19 Apr 2016__ 23 | - Updated title to "GraphQL Schema Language Cheat Sheet", as advised by @leeb. 24 | - Updated `enum` example. 25 | 26 | __18 Apr 2016__ 27 | - First draft release. 28 | -------------------------------------------------------------------------------- /graphql-shorthand-notation-cheat-sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sogko/graphql-schema-language-cheat-sheet/5e20d55ec1a1a5905fbec2a72a9a2c651c735ae7/graphql-shorthand-notation-cheat-sheet.pdf -------------------------------------------------------------------------------- /graphql-shorthand-notation-cheat-sheet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sogko/graphql-schema-language-cheat-sheet/5e20d55ec1a1a5905fbec2a72a9a2c651c735ae7/graphql-shorthand-notation-cheat-sheet.png --------------------------------------------------------------------------------