View Details
Dave and Ilya discuss the delights and trials of using GraphQL with Ember in production, then give their thoughts on the Ember Component Templates Co-location RFC.
00:00 Introduction
01:37 GraphQL with Ember
- GraphQL: https://graphql.org/
- Apollo: https://www.apollographql.com/
- JSON API Spec: https://jsonapi.org/
- Queries and Mutations
- Handling Errors
- Tooling around GraphQL
- Graph.Cool/Prisma.io: https://www.prisma.io/
- GraphQL Voyager: https://apis.guru/graphql-voyager/
- Types
- Ember Apollo Client: https://github.com/ember-graphql/ember-apollo-client
- Relay - Declare the data your components need with GraphQL, Relay determines how and when to fetch your data https://facebook.github.io/relay/
26:00 GraphQL rough edges
- Missing from GraphQL: Ember Data computed properties
- Solution: Apollo link state https://www.apollographql.com/docs/link/links/state
- Guide/narrative content is lacking
- Managing fragments
- Server-side tutorials
34:00 Biggest benefit to GraphQL: Server-side implementation
36:00 Co-location RFC comments
- Component Templates Co-location #481 https://github.com/emberjs/rfcs/pull/481
- Our add-on: ember-template-component-import https://github.com/crashco/ember-template-component-import