menu

Apollo

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

Channels
Team
Posts
Members
Info

Single schema delegation to resolve multiple fields

In a stitching scenario, is there a way to use schema delegation to resolve multiple fields. Lets say I'm stiching these two schemas: and …

thumbsup
0
message-simple
2

Schema Stitching Node/Rails

Hi everyone, so I have 2 independent rails apps, each with its own graphql server. I wanted to stitch these servers together using a node stitching service. My question is, does the mergeSchemas from graphql-tools support graphql servers from non-apollo/node services?

thumbsup
0
message-simple
1

Using identical schema at multiple endpoints

I'd like to have a single GraphQL server that can issue queries against multiple endpoints that all have the same schemas. Right now it does not seem to be possible to allow the endpoint URL be one of the parameters exposed for selection. What I'd like to do is something like…

thumbsup
1
message-simple
5

Transform Remote Schema Query Type

I am using a remote schema and want to transform the "Type" that is returned from one of the root Queries from [String] to an array of custom Types (e.g [Post]). What is the best way of doing this ? I am trying with this so far but not…

thumbsup
0
message-simple
0

Apollo Launchpad broken?

I found an easy way to prototype and perhaps share apollo/graphql code; Apollo Launchpad. In the GraphiQL result window I get the error TypeError: Failed to fetch. 1. Is this app usable as a Shareable Sandbox? …

thumbsup
0
message-simple
1

Implementing directives on extended types

Is it possible to apply directives to extended types? e.g. type A { …

thumbsup
0
message-simple
0

Graphql-tools connector with mongoose

is there is a tutorial or an article concerning how to connect mongoose with Graphql-tools connectors as the docs lacks that. I tried to search for a bit, but it was in vain.

thumbsup
0
message-simple
2
syffs·15d

check for missing resolvers

How would you scan schema for missing resolver for queries and non-scalar fields ? I'm trying to work with a dynamic schema so I need to be able to test this programmatically. I've been browsing graphql tools for few hours to find a way to do this, but I'm getting nowhere.

thumbsup
0
message-simple
0
Adam·17d

IResolvers unknown __resolveType context type

I'm cluelessly trying to get typings working for my resolver maps. In one object I use a __resolveType but it cannot seem to understand what the context type is. Any advice appreciated.

thumbsup
0
message-simple
4
Anna·18d

Schema transforms - info, examples, debug execution during delegateToSchema

I am trying to perform schema transformation using ExtractField and WrapQuery methods. My problem is that I have found really not a lot of info and examples (only unit test from graphql-tools). I am doing transformation as a part of delegateToSchema. I get empty result, my…

thumbsup
0
message-simple
0