Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

refactor: updating build #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MStokluska
Copy link

@MStokluska MStokluska commented Oct 3, 2019

Summary

Updating server build for frontpage application

Changes

  1. Added Apollo Server
  2. Used subscription handlers
  3. Edited resolvers to match pubsub requirements
  4. Removed subscriptions.js

Frontpage server is a reliable example that showcases all related elements for graphql server:

  • Subscriptions
  • Queries
  • Mutations

It is also the one that is really high in google search.
However, the entire example got outdated. This PR updates this example app to use the latest Apollo stack.

Note: we do not use Federation here yet but we can do that in follow up PR

@wtrocki
Copy link

wtrocki commented Oct 3, 2019

@designatednerd I have tested this with Frontpage-IOS app and it works out of the box after regenerating schema.

A related issue in Apollo-Android: apollographql/apollo-kotlin#1648

@wtrocki
Copy link

wtrocki commented Oct 8, 2019

FYI @martijnwalraven

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants