# All channels
Sachin D. Shinde@sachin-shinde
__typename is required but how to use it?
I read https://github.com/apollographql/apollo-tooling#why-is-the-typename-field-required and understand this gets generated from apollo codegen but I'm always getting TS errors like .. is missing the following properties from ... : __typename. I'm still learning Typescript and…
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…
Generating Typescript types from custom scalars like Long and BigDecimal
I was given a schema.graphql file that I want to generate my Typescript from. I get this error when running apollo:codegen › Error: Error initializing Apollo GraphQL project "Unnamed Project": Error: Error in "Loading schema for Unnamed Project": Error: Unknown type: "Long". …
Apollo Tracing: Empty Extensions object on graphql playground Response
Hi All, I enabled tracing:true in my node apollo server declaration and when i query in Graphql Playground i receive the extensions object but it is always empty! anyone know what silly thing im missing out on in order to return an informational extensions object? thanks all, …
Relay-style query query generator being considered?
I've come to Apollo from spending a lot of time with Relay, and the one thing I really miss is the query generator, which allows you to declaratively specify which data a React component needs as a GraphQL fragment alongside the component, and then generates the top level query…
codegen with @client
Hi There, actually i'm whipeing through the codegen types with @client directive. I'm able to manage it when i import the schema fron the server within a .graphql file and putting the local types, queries, mutations in there WITHOUT the @client directive. I think this is a very…
Is there any way to bypass apollo-env depending on core-js?
Sequelize 6 uses lodash which has a check in it that if core-js is loaded then _.isNative throws an error since core-js can affect its ability to determine that. In Jest, I was able to mock the core-js dependencies so tests pass but I'm not really sure how I could do that for…