Skip to content

Commit 551bff9

Browse files
petetntgregberge
authored andcommitted
docs(readme): fix typo (#3)
1 parent b427505 commit 551bff9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ export default ArticleCard
269269

270270
FraQL offers a drop-in replacement for `graphql-tag` but sometimes you don't use `gql` to define your fragments. As mentioned in [graphql-tag documentation](https://github.com/apollographql/graphql-tag) there are lots of other ways to do it (using Babel, Webpack, etc..).
271271

272-
FraQL exposes a function `toInlineFragment`, it transforms a GraphQL fragment into an inline fragment.
272+
FraQL exposes a function `toInlineFragment` that transforms a GraphQL fragment into an inline fragment.
273273

274274
```js
275275
import { toInlineFragment } from 'fraql'
276-
import gql from 'grapql-tag'
276+
import gql from 'graphql-tag'
277277
import fragment from './myFragment.gql'
278278

279279
const inlineFragment = toInlineFragment(fragment)
@@ -289,9 +289,9 @@ const query = gql`
289289

290290
### Mix named and inline fragments
291291

292-
Sometimes you may want to have the best of the two worlds, use a name fragment in one query and an inline fragment in another.
292+
Sometimes you may want to have the best of the two worlds, use a named fragment in one query and an inline fragment in another.
293293

294-
For this specific use-case, FraQL exposes the original document:
294+
For this specific use-case FraQL exposes the original document:
295295

296296
```js
297297
import gql from 'fraql'
@@ -316,7 +316,7 @@ const query = gql`
316316

317317
### Use custom mocks
318318

319-
Mocking feature of FraQL is build on top of [grapql-tools](https://www.apollographql.com/docs/graphql-tools/), it means you can [customize all your mocks](https://www.apollographql.com/docs/graphql-tools/mocking.html#Customizing-mocks).
319+
Mocking feature of FraQL is build on top of [graphql-tools](https://www.apollographql.com/docs/graphql-tools/), it means you can [customize all your mocks](https://www.apollographql.com/docs/graphql-tools/mocking.html#Customizing-mocks).
320320

321321
You can define global mocks when you create the mocker:
322322

0 commit comments

Comments
 (0)