Posts
Members
Info
Apollo client iOS
I am sending data like this then I am also getting error if let imageData = userImgVew.image?.jpegData(compressionQuality: 0.7) { let file = GraphQLFile(fieldName: name, originalName: name, mimeType: "image/jpeg", data:imageData) …
0
4
Apollo client for Dart/Flutter
I could not find anything related to an Apollo client implementation for Dart/Flutter. Dose anybody know whether that is something the Apollo team is considering?
1
4
How can I handle API authorization with multiple datasources
I am using multiple APIs in my app. Each one of them needs some sort of credential in order to get any data back. For instance for one I have to first make a post request to get a token which is then used to make subsequent API requests. The docs seem to imply that you would put…
1
3
Looking for an example code for a managed Apollo Gateway
I can make make a local gateway with declared service but I really don't understand how to dynamically load federated services registered in Apollo Manager.
0
3
Put TypeORM connection in context, or dataSources?
Let's say I have a db connection import { createConnection } from "typeorm" Should I put it in the server's context, or dataSources? …
0
1
Naming convention for large microservice architecture based on ApolloGateway
Hello, before using Apollo federation feature I was merging my remote schemas with "mergeSchemas" and "transformSchema" from graphql-tools library. I used transformSchema to add prefixes to all microservices avoiding conflicts between types and resolvers. I've read that…
0
1
Can I use apollo federation just to modularize schema on same server?
Hi, I want to define different schemas in different files and use them as one. The goal is to modularize schema. I've checked some of the apollo federation examples, all of them use schemas running on different servers. But there will be only one server in my case.
2
3
Apollo response array as object of objects
Hello everyone. I recently came across the following problem: How can I query an object object in which its keys would be of type ID? For example: A query named getBooks instead of returning an array [{id: 1, description: 'any' '}, {id: 2 ...}] would return the following: {"1":…
0
2
GraphQL Microservices - What is the accepted approach for inter-service…
Hey guys, I currently have my system comprised of a single API Gateway exposing 3 federated graphql microservices. The services are broken down as follows: Product Service, Order Service, Inventory Service. The schema stitching works like a charm, but I am hitting a blocker.…
2
7
Typenames; Any idea what I'm doing wrong here?
this will result in an error because input expects and input and type expects a type for languages. The issue is that I need these to both be of the same type because Apollo client expects the input of type, "Language" so I can't just create a custom input and type for these…
0
2