Skip to content

Commit

Permalink
Merge pull request #714 from ember-learn/add-mirage-graphql
Browse files Browse the repository at this point in the history
Add mirage graphql
  • Loading branch information
amyrlam authored Jul 18, 2020
2 parents 6fbbf37 + ee91f46 commit 2177825
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions source/2020-07-17-the-ember-times-issue-156.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: The Ember Times - Issue No. 156
author: Chris Ng, Abhilash LR, the crowd
author: Chris Ng, Abhilash LR, Jared Galanis, the crowd
tags: Recent Posts, Newsletter, Ember.js Times, Ember Times, 2020
alias : "blog/2020/07/17-the-ember-times-issue-156.html"
responsive: true
Expand All @@ -10,6 +10,7 @@ responsive: true

<SOME-INTRO-HERE-TO-KEEP-THEM-SUBSCRIBERS-READING>
Read the blog post on using ember-concurrency with TypeScript 🤝,
Mirage JS with GraphQL 🏝,

Reusable DOM behavior in React vs Ember 🪔,

Expand Down Expand Up @@ -123,14 +124,20 @@ Read the [full blog post](https://jamescdavis.com/using-ember-concurrency-with-t
---
## [Section title in sentence case 🐹](section-url)
## [Mirage JS with GraphQL 🏝](https://github.com/miragejs/graphql)
<change section title emoji>
<consider adding some bold to your paragraph>
<please include link to external article/repo/etc in paragraph / body text, not just header title above>
Have you been wanting to use [Mirage JS](https://miragejs.com/) with GraphQL?
Thanks to [Rocky Neurock (@jneurock)](https://github.com/jneurock), [Mirage GraphQL](https://github.com/miragejs/graphql) provides the ability to create a GraphQL route handler based on your GraphQL and Mirage schemas.
<add your name to author list, top and bottom>
<add blurb and emoji to "SOME-INTRO-HERE">
Mirage GraphQL does a bunch of things:
* It fulfills GraphQL requests by fetching data from Mirage's database.
* It filters records from Mirage's database by using arguments from your GraphQL queries.
* It handles create, update and delete type mutations automatically based on some conventions.
* It allows you to supply your own resolvers (for cases where the automatic query and mutation resolution isn't sufficient).
There's plenty of examples on how to get started using GraphQL with Mirage JS using Mirage GraphQL over at the repo, go ahead and [check them out for yourself](https://github.com/miragejs/graphql#example-use-cases).
---
Expand Down Expand Up @@ -160,4 +167,4 @@ That's another wrap! ✨
Be kind,
Chris Ng, Abhilash LR, the crowd and the Learning Team
Chris Ng, Abhilash LR, Jared Galanis, the crowd and the Learning Team

0 comments on commit 2177825

Please sign in to comment.