menu
Channels
Team
Posts
Members
Info

Apollo Client DevTools - Adding typeDefs bloats ROOT_QUERY

When "typeDefs" is added to the ApolloClient constructor as seen here on line 27 👇... ...the ROOT_QUERY in Apollo Client DevTools is bloated with thousands of lines of remote schema details (looks like this 👇) Additionally, the ROOT_QUERY window locks up and cannot be scrolled…

thumbsup
0
message-simple
0

How to change persisted queryids from autoincremented ints to hashed ids

Hey guys, just looking for help on how to update our persisted queries to use hashed query ids.

thumbsup
0
message-simple
0

client:codegen not working with local state

I'm having the same issue as https://github.com/apollographql/apollo-tooling/issues/949, though I am using extend not re-declaring! 😖 Though the code itself all works fine (even the Apollo Dev Tools GraphiQL shows the new query field and it works and returns the test data), the…

thumbsup
0
message-simple
8

Is possible to format response in addMockFunctionsToSchema?

I want to return something like:

thumbsup
0
message-simple
2

Trying to use Apollo Engine

but when I try to start up the server I get TypeError: Cannot read property 'filter' of undefined in buildSchemaFromSDL.js 14:53 …

thumbsup
0
message-simple
0

VSCode Extension doesn't work with local schema file and local remote endpoint

Hello everybody, I have issues setting up the Apollo extension for VS Code. As a preliminary point, here's my apollo.config.js and my schema.js (with remote schema stitching ), and an excerpt of my dependencies. It doesn't work when using url: 'http://localhost:4000/graphql',…

thumbsup
0
message-simple
1

Trouble generating Typescript types with apollo CLI

I've been having trouble generating Typescript types, was hoping someone could point me in the right direction to sort this out. Config: Error:

thumbsup
1
message-simple
2

[VSCode] Does not seems to be working with local schema file

I am not sure if I am doing something wrong or I have misunderstood how it's supposed to work. Is it necessary to publish schema to the Engine service to actually get autocomplete working? We do have workflow in place where we download schema through the introspection from the…

thumbsup
4
message-simple
47

Is there a way to add your GraphqQL types to apollo response.

Hi, We are using react-apollo, typescript. Is there any way for us that apollo gives the response with types which it can easily get from the typedefs of graphQL.

thumbsup
0
message-simple
5

Generating Typescript types with custom scalars?

Hi, I'm new to Apollo, and I have tried to generate types for my queries but the schema is using custom scalars that end up being typed as any. I've read that you can provide types for these custom scalars, but I couldn't find how to provide them. Where will the types generator…

thumbsup
0
message-simple
3