menu

Apollo

A community of developers, designers and others who love Apollo and GraphQL. 🚀

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team

Merging remote sources - help + best practices

January 29, 2020 at 10:07am

Merging remote sources - help + best practices

January 29, 2020 at 10:07am (Edited 5 months ago)
We're trying to figure out the best way to merge a couple of sources into one GQL endpoint.
We've tried spinning up an Apollo Server with the REST API:s as datasources and then using Federation as a gateway to pull in this GQL point + trying to get the Prismic one in there as well (that fails though, we might be doing something wrong :).
How would you guys go about this? What would the best solution and practice be? Thanks!

January 29, 2020 at 10:09am
One solution could of course be to not use the GQL from Prismic and instead go for the REST or such - this feels like a shame though
  • reply
  • like

February 4, 2020 at 2:10pm
We have the exact same problem. One of our services is a REST API. The only working solution that we found is what you described. But having a separate "proxy" just for this seems like an unnecessary overhead.
  • reply
  • like