Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

The Swift implementation for GraphQL, a query language for APIs created by Facebook.

Looking for help? Find resources [from the community](http://graphql.org/community/).
This repo is a Swift port of the JavaScript reference implementation. To create GraphQL schemas more easily, use [graphql-generator](https://github.com/GraphQLSwift/graphql-generator) or [Graphiti](https://github.com/GraphQLSwift/Graphiti), and to expose your schema through HTTP, check out [graphql-vapor](https://github.com/GraphQLSwift/graphql-vapor) or [graphql-hummingbird](https://github.com/GraphQLSwift/graphql-hummingbird)

Looking for help? Find resources [from the GraphQL community](http://graphql.org/community/).

## Usage

Expand All @@ -34,9 +36,6 @@ let schema = try GraphQLSchema(

For more complex schema examples see the test files.

This repo only contains the core GraphQL implementation and does not focus on the ease of schema creation. For a better experience
when creating your GraphQL schema use [Graphiti](https://github.com/GraphQLSwift/Graphiti).

### Execution

Once a schema has been defined queries may be executed against it using the global `graphql` function:
Expand Down Expand Up @@ -133,7 +132,7 @@ swiftformat .
```

Most of this repo mirrors the structure of
(the canonical GraphQL implementation written in Javascript/Typescript)[https://github.com/graphql/graphql-js]. If there is any feature
[the canonical GraphQL implementation written in Javascript/Typescript](https://github.com/graphql/graphql-js). If there is any feature
missing, looking at the original code and "translating" it to Swift works, most of the time. For example:

### Swift
Expand Down