# All channels
Sachin D. Shinde@sachin-shinde
ng add apollo-angular not working
For some reason, ng add apollo-angular is looking for things in the wrong folder; here's the error: Is there a way to fix where it is looking? I have both esnext.asynciterable and app.module.ts setup in the correct locations. My tsconfig.json is in the root directory of the…
Fetching new data when query variable changes
Hello! I'm new to Apollo and GraphQL in general, and I'm wondering how to deal with fetching data when you want to change variables. For example my query has a orderBy variable that ditctates order of returned results from DB. …
Can't get apollo angular service to run when I first go to a page with an ID
In several spots of my app, there's a need to click on the name of a trade show and get taken to a details page for that show. However, the app goes to that page (with the correct ID) but the apollo service won't run. If I refresh the page it loads perfectly, so I don't think…
Is there a way to not write the GraphQL query as inline string?
Sorry if this is a trivial question, but I am completely new to Apollo and GraphQL. Just working my way through the docs. Is it possible to write the queries in a .graphql files and import that into the Angular service or component, instead of writing them inline as a string,…
Deleted·31d# Apollo Angular
How a can cancel a query of apollo and GraphQL?
Hello, I am making a query with Angular, Apollo and GraphQL but i need cancel the request. In this moment, i use unsuscribe method, but i need cancel the request to api. …
Some of my Queries return undefined
Hello, I'm fairly new to Angular, Apollo, GraphQL. I am having an issue where most of my queries (all in separate services) return exactly what I am looking for, but there are a few which return undefined. I can run the query in Playground and it runs perfectly and gives me the…
What's the best way to put a component into a modal?
I'm building a large app based on a very outdated Filemaker system. Throughout the app there are tons of buttons used for popups. The client wants the new system to have the same look as their existing system. Many of these popups require the ability to change data and be able…
I couldn't find in the documentation a way to define a timeout that aborts requests that are not completed within a given period. There is this library https://www.npmjs.com/package/apollo-link-timeout, but before using it I would like to know first if this option is supported…