Skip to content

Commit 1a86775

Browse files
authored
Merge branch 'source' into source
2 parents ec0d69d + 3b5b3f1 commit 1a86775

18 files changed

+84
-15
lines changed

site/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

site/blog/20160502-rest-api-graphql-wrapper.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ However, as we mentioned before, this architecture features some inherent perfor
198198
Take the next 10 minutes to watch me build a server side version of the GraphQL wrapper above using Node and Express.
199199

200200
<iframe id="ytplayer" type="text/html" width="640" height="390"
201-
src="http://github.com/%3Cspan%20class="pl-corl">http://www.youtube.com/embed/UBGzsb2UkeY?autoplay=0&origin=http://graphql.org&start=900"
201+
src="http://github.com/%3Cspan%20class="pl-corl">https://www.youtube.com/embed/UBGzsb2UkeY?autoplay=0&origin=http://graphql.org&start=900"
202202
frameborder="0"></iframe>
203203

204204
## Bonus round: A truly Relay compliant schema

site/code/index.html.js

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ In addition to the GraphQL [reference implementations in JavaScript](#javascript
4242
4343
- [graphql-dotnet](https://github.com/graphql-dotnet/graphql-dotnet): GraphQL for .NET
4444
- [graphql-net](https://github.com/ckimes89/graphql-net): Convert GraphQL to IQueryable
45+
- [Hot Chocolate](https://github.com/ChilliCream/hotchocolate): GraphQL Service for .net core and .net classic
4546
4647
### Clojure
4748
@@ -122,6 +123,7 @@ Code that executes a hello world GraphQL query with \`graphql-clj\`:
122123
- [graphql-go](https://github.com/graphql-go/graphql): An implementation of GraphQL for Go / Golang.
123124
- [graphql-relay-go](https://github.com/graphql-go/relay): A Go/Golang library to help construct a graphql-go server supporting react-relay.
124125
- [neelance/graphql-go](https://github.com/neelance/graphql-go): An active implementation of GraphQL in Golang.
126+
- [samsarahq/thunder](https://github.com/samsarahq/thunder): A GraphQL implementation with easy schema building, live queries, and batching.
125127
126128
### Groovy
127129
@@ -320,14 +322,14 @@ Then run \`python hello.py\` with this code in \`hello.py\`:
320322
import graphene
321323
322324
class Query(graphene.ObjectType):
323-
hello = graphene.String()
325+
hello = graphene.String(name=graphene.String(default_value="World"))
324326
325-
def resolve_hello(self, args, context, info):
326-
return 'Hello world!'
327+
def resolve_hello(self, info, name):
328+
return 'Hello ' + name
327329
328330
schema = graphene.Schema(query=Query)
329331
result = schema.execute('{ hello }')
330-
print(result.data['hello'])
332+
print(result.data['hello']) # "Hello World"
331333
\`\`\`
332334
333335
There are also nice bindings for [Relay](https://facebook.github.io/relay/), Django, SQLAlchemy, and Google App Engine.
@@ -361,7 +363,7 @@ Schema = GraphQL::Schema.define do
361363
query QueryType
362364
end
363365
364-
puts Schema.execute('{ hello }')
366+
puts Schema.execute('{ hello }').to_json
365367
\`\`\`
366368
367369
There are also nice bindings for Relay and Rails.
@@ -391,6 +393,7 @@ Executor.execute(schema, query) map println
391393
## GraphQL Clients
392394
393395
- [C# / .NET](#c-net-1)
396+
- [Clojurescript](#clojurescript-1)
394397
- [Go](#go-1)
395398
- [Java / Android](#java-android)
396399
- [JavaScript](#javascript-1)
@@ -401,6 +404,10 @@ Executor.execute(schema, query) map println
401404
402405
- [graphql-net-client](https://github.com/bkniffler/graphql-net-client): Basic example GraphQL client for .NET.
403406
407+
### Clojurescript
408+
409+
- [re-graph](https://github.com/oliyh/re-graph/): A GraphQL client implemented in Clojurescript with support for websockets.
410+
404411
### Go
405412
406413
- [graphql](https://github.com/shurcooL/graphql#readme): A GraphQL client implementation in Go.
@@ -409,13 +416,17 @@ Executor.execute(schema, query) map println
409416
410417
- [Apollo Android](https://github.com/apollographql/apollo-android): A strongly-typed, caching GraphQL client for Android, written in Java.
411418
419+
- [Nodes](https://github.com/americanexpress/nodes): A GraphQL JVM Client designed for constructing queries from standard model definitions. By American Express.
420+
412421
### JavaScript
413422
414423
- [Relay](https://facebook.github.io/relay/) ([github](https://github.com/facebook/relay)) ([npm](https://www.npmjs.com/package/react-relay)): Facebook's framework for building React applications that talk to a GraphQL backend.
415424
- [Apollo Client](http://apollographql.com/client/) ([github](https://github.com/apollographql/apollo-client)): A powerful JavaScript GraphQL client, designed to work well with React, React Native, Angular 2, or just plain JavaScript.
416425
- [graphql-request](https://github.com/graphcool/graphql-request): A simple and flexible JavaScript GraphQL client that works in all JavaScript environments (the browser, Node.js, and React Native) - basically a lightweight wrapper around \`fetch\`.
417426
- [Lokka](https://github.com/kadirahq/lokka): A simple JavaScript GraphQL client that works in all JavaScript environments (the browser, Node.js, and React Native).
418427
- [nanogql](https://github.com/yoshuawuyts/nanogql): Tiny GraphQL client library using template strings.
428+
- [AWS Amplify](https://aws.github.io/aws-amplify): A JavaScript library for application development using cloud services, which supports GraphQL backend and React components for working with GraphQL data.
429+
419430
420431
### Swift / Objective-C iOS
421432
@@ -425,6 +436,7 @@ Executor.execute(schema, query) map println
425436
### Python
426437
427438
- [GQL](https://github.com/graphql-python/gql): A GraphQL client in Python.
439+
- [sgqlc](https://github.com/profusion/sgqlc): A simple Python GraphQL client. Supports generating code generation for types defined in a GraphQL schema.
428440
429441
## Tools
430442
@@ -441,6 +453,7 @@ Executor.execute(schema, query) map println
441453
- [Scaphold](https://scaphold.io) ([github](https://github.com/scaphold-io)): A BaaS (Backend as a Service) that sets you up with a GraphQL backend for your applications with many different integrations.
442454
- [Tipe](https://tipe.io) ([github](https://github.com/tipeio)): A SaaS (Software as a Service) content management system that allows you to create your content with powerful editing tools and access it from anywhere with a GraphQL or REST API.
443455
- [AWS AppSync](https://aws.amazon.com/appsync/): Fully managed GraphQL service with realtime subscriptions, offline programming & synchronization, and enterprise security features as well as fine grained authorization controls.
456+
- [Hasura](https://hasura.io): A BaaS (Backend as a Service) that lets you create tables, define permissions on Postgres and query and manipulate using a GraphQL interface.
444457
445458
## More Stuff
446459

site/community/Community-Events.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,21 @@ sublinks: Upcoming Events,Meetups
88

99
## Upcoming Events
1010

11-
### GraphQL-Europe Conference
11+
### GraphQL Europe Conference
1212

1313
- **Date:** June 15, 2018
1414
- **Location:** Berlin, Germany
1515
- **Link:** https://graphql-europe.org
1616

17-
GraphQL-Europe is a non-profit GraphQL conference in Europe with speakers from all around the world. Learn about GraphQL best practices from industry experts and become part of the thriving GraphQL community.
17+
GraphQL Europe is a non-profit GraphQL conference in Europe with speakers from all around the world. Learn about GraphQL best practices from industry experts and become part of the thriving GraphQL community.
18+
19+
### GraphQL Finland Conference
20+
21+
- **Date:** October 18-19, 2018
22+
- **Location:** Helsinki, Finland
23+
- **Link:** https://graphql-finland.fi/
24+
25+
GraphQL Finland is a community-organized GraphQL conference. The first of its kind in Finland, the event consists of a workshop day and a day of talks around the topic. GraphQL Finland is organized by the same team that brought you React Finland.
1826

1927
## Meetups
2028

site/community/Community-Resources.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Many members of the community use Stack Overflow to ask and answer questions. [R
1313

1414
## Facebook Group
1515

16-
Join the [GraphQL Facebook Group](https://www.facebook.com/groups/graphql.community/) for questions, discussion, and sharing. The GraphQL Facebook group is the preferred venue for announcements and broader discussion.
16+
Join the [GraphQL Facebook Group](https://www.facebook.com/groups/graphql.community/) sharing and discovering new content. The GraphQL Facebook group is the preferred venue for announcements and broader discussion.
1717

1818
## Twitter
1919

@@ -55,7 +55,7 @@ Here are a list of notable blog posts to help you better understand GraphQL:
5555
- [From REST to GraphQL](https://0x2a.sh/from-rest-to-graphql-b4e95e94c26b#.tag7nzkrb) - Jacob Gillespie
5656
- [GraphQL Explained](https://medium.com/apollo-stack/graphql-explained-5844742f195e#.zdykxos6i) - Jonas Helfer
5757
- [GraphQL Concepts Visualized](https://medium.com/apollo-stack/the-concepts-of-graphql-bc68bd819be3#.hfczgtdsj) - Dhaivat Pandya
58-
- [Building the f8 App: Using GraphQL & Relay](http://makeitopen.com/tutorials/building-the-f8-app/relay/)
58+
- [Building the f8 App: Using GraphQL & Relay](http://makeitopen.com/docs/en/1-A2-relay.html)
5959
- [Your First GraphQL Server](https://medium.com/the-graphqlhub/your-first-graphql-server-3c766ab4f0a2#.ovn0y19k4) - Clay Allsopp
6060
- [Tutorial: Kick start a JS API with Apollo-server, Dataloader and Knex](https://bamtech.gitbooks.io/dev-standards/content/backend/graphql-js/getting-started-with-apollo-server-dataloader-knex.mo.html) - Thomas Pucci
6161
- [Tutorial: How to Build a GraphQL Server](https://medium.com/apollo-stack/tutorial-building-a-graphql-server-cddaa023c035#.bu6sdnst4) - Jonas Helfer
@@ -92,9 +92,14 @@ Developers inside and outside of Facebook have given talks about GraphQL at conf
9292
- [Unleashing the power of GraphQL using Angular 2](https://www.youtube.com/watch?v=VYpJ9pfugM8) - Gerard Sans, NG-BE 2016
9393
- [Webinar Series: GraphQL Around The World](https://graphql-world.com/webinar) - Vince Ning & Michael Paris
9494
- [All Talks from GraphQL Europe](https://www.youtube.com/playlist?list=PLn2e1F9Rfr6n_WFm9fPE-_wYPrYvSTySt) - Lee Byron, Sashko Stubailo, Dan Schafer, Johannes Schickling and many more
95+
- [Hands-on GraphQL for Better RESTful Web Services (Video)](https://www.packtpub.com/application-development/hands-graphql-better-restful-web-services-video) by Ashwin Hegde
9596

9697
## Books
9798

99+
- [The GraphQL Guide](https://graphql.guide) by John Resig and Loren Sands-Ramshaw
100+
- [Learning GraphQL](https://www.amazon.com/Learning-GraphQL-Declarative-Fetching-Modern/dp/1492030716/) by Eve Porcello and Alex Banks
101+
- [Fullstack GraphQL](https://www.graphql.college/fullstack-graphql) by Julian Mayorga
102+
- [Craft GraphQL APIs in Elixir with Absinthe](https://pragprog.com/book/wwgraphql/craft-graphql-apis-in-elixir-with-absinthe) by Bruce Williams and Ben Wilson
98103
- [Learning GraphQL and Relay](https://www.packtpub.com/web-development/learning-graphql-and-relay) by Samer Buna
99104

100105
## More Resources

site/graphql-js/APIReference-Errors.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ class GraphQLError extends Error {
5555
nodes?: Array<any>,
5656
stack?: ?string,
5757
source?: Source,
58-
positions?: Array<number>
58+
positions?: Array<number>,
59+
originalError?: ?Error,
60+
extensions?: ?{ [key: string]: mixed }
5961
)
6062
}
6163
```

site/graphql-js/APIReference-TypeSystem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ var RGBType = new GraphQLEnumType({
461461
462462
```js
463463
class GraphQLInputObjectType {
464-
constructor(config: GraphQLInputObjectTypeConfig)
464+
constructor(config: GraphQLInputObjectConfig)
465465
}
466466

467467
type GraphQLInputObjectConfig = {

site/graphql-js/Tutorial-GraphQLClients.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ You should see the output returned as JSON:
2323
{"data":{"hello":"Hello world!"}}
2424
```
2525

26+
If you prefer to use a graphical user interface to send a test query, you can use clients such as [GraphiQL](https://github.com/graphql/graphiql) and [Insomnia](https://github.com/getinsomnia/insomnia).
27+
2628
It's also simple to send GraphQL from the browser. Open up http://localhost:4000, open a developer console, and paste in:
2729

2830
```javascript

site/learn/Learn-Schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ It's important to remember that other than the special status of being the "entr
114114

115115
A GraphQL object type has a name and fields, but at some point those fields have to resolve to some concrete data. That's where the scalar types come in: they represent the leaves of the query.
116116

117-
In the following query, the `name` and `appearsIn` will resolve to scalar types:
117+
In the following query, the `name` and `appearsIn` fields will resolve to scalar types:
118118

119119
```graphql
120120
# { "graphiql": true }

site/users/index.html.js

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ var logos = [
137137
{
138138
name: '20 Minutes',
139139
img: '20minutes.png',
140-
link: 'http://www.20minutes.fr'
140+
link: 'https://www.20minutes.fr'
141141
},
142142
{
143143
name: 'AlloCiné',
@@ -601,6 +601,46 @@ var logos = [
601601
img: 'atlassian.png',
602602
link: 'https://www.atlassian.com'
603603
},
604+
{
605+
name: 'Lets.events',
606+
img: 'letsevents.png',
607+
link: 'https://lets.events'
608+
},
609+
{
610+
name: 'KLM Royal Dutch Airlines',
611+
img: 'klm.png',
612+
link: 'https://www.klm.com'
613+
},
614+
{
615+
name: 'Universe',
616+
img: 'universe.png',
617+
link: 'https://www.universe.com'
618+
},
619+
{
620+
name: 'Jusbrasil',
621+
img: 'jusbrasil.png',
622+
link: 'https://www.jusbrasil.com.br'
623+
},
624+
{
625+
name: 'NBC News Digital',
626+
img: 'nbc-news-digital.png',
627+
link: 'https://www.nbcnews.com'
628+
},
629+
{
630+
name: 'PayPal',
631+
img: 'paypal.png',
632+
link: 'https://www.paypal.com/'
633+
},
634+
{
635+
name: 'Cheddar',
636+
img: 'cheddar.png',
637+
link: 'https://cheddar.com'
638+
},
639+
{
640+
name: 'UC Trends',
641+
img: 'uctrends.png',
642+
link: 'https://trends.ucweb.com'
643+
}
604644
// Adding your logo?
605645
// Add it to the /users/logos/ directory and then append an entry above this comment.
606646
//

site/users/logos/cheddar.png

17.6 KB
Loading

site/users/logos/jusbrasil.png

20 KB
Loading

site/users/logos/klm.png

27.2 KB
Loading

site/users/logos/letsevents.png

4.94 KB
Loading

site/users/logos/nbc-news-digital.png

34.5 KB
Loading

site/users/logos/paypal.png

46.6 KB
Loading

site/users/logos/uctrends.png

203 KB
Loading

site/users/logos/universe.png

22.8 KB
Loading

0 commit comments

Comments
 (0)