Skip to content

Commit

Permalink
Merge pull request #61 from BrunoScheufler/patch-1
Browse files Browse the repository at this point in the history
fix(docs): Fixed some typos / grammar
  • Loading branch information
maticzav authored Jun 17, 2018
2 parents d4f4922 + 3336281 commit 3d3b799
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## Overview

GraphQL Shield helps you create permission layer for your application. Using intuitive rule-API, you'll gain the power of shield engine on every request and reduce the load time of every request with smart caching. This way you can make sure your application will remain quick, and no internal data will be exposed.
GraphQL Shield helps you create a permission layer for your application. Using an intuitive rule-API, you'll gain the power of the shield engine on every request and reduce the load time of every request with smart caching. This way you can make sure your application will remain quick, and no internal data will be exposed.

[![Sponsored By GraphCMS](https://github.com/maticzav/graphql-shield/raw/master/media/graphcms.svg?sanitize=true)](https://graphcms.com/?ref=maticzav)

Expand Down Expand Up @@ -42,7 +42,7 @@ const typeDefs = `
type Query {
frontPage: [Fruit!]!
fruits: [Fruit!]!
cusomers: [Customer!]!
customers: [Customer!]!
}
type Mutation {
Expand Down Expand Up @@ -122,7 +122,7 @@ const permissions = shield({
addFruitToBasket: isAuthenticated,
},
Fruit: isAuthenticated,
Cusomer: isAdmin
Customer: isAdmin
})

const server = GraphQLServer({
Expand Down Expand Up @@ -205,7 +205,7 @@ export interface IOptions {
#### `rules`

A rule map must match your schema definition. All rules must be created using `rule` function to ensure caches are made correctly. You can apply your `rule` accross entire schema, Type scoped, or field specific.
A rule map must match your schema definition. All rules must be created using the `rule` function to ensure caches are made correctly. You can apply your `rule` accross entire schema, Type scoped, or field specific.

##### Limitations

Expand Down

0 comments on commit 3d3b799

Please sign in to comment.