menu

Apollo

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

Channels
# All channels
view-forward
# General
view-forward
# Apollo Angular
view-forward
# Announcements
view-forward
# Apollo Android
view-forward
# Apollo Client
view-forward
# Apollo iOS
view-forward
# Apollo Link
view-forward
# Apollo Link Rest
view-forward
# Local State
view-forward
# Apollo Studio
view-forward
# Apollo Server
view-forward
# Apollo Tooling
view-forward
# Contributing
view-forward
# Docs
view-forward
# Events
view-forward
# GraphQL Tools
view-forward
# Jobs
view-forward
# Random
view-forward
# React Apollo
view-forward
# Showcase
view-forward
# Subscriptions
view-forward
# Testing
view-forward
# Vue Apollo
view-forward
Team
Hugh Willson
@hwillson
Ellen Shapiro
@designatednerd
Jesse Rosenberger
@abernix
Jake Dawkins
@jakedawkins
Martin B
@mbonnin
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Khalil Stemmler
@khalilstemmler
Martijn Walraven
@martijnwalraven
Jenn Creighton
@jenncreighton
Peggy Rayzis
@peggy
Ben Church
@bnchrch
Trevor Scheer
@trevor-scheer
Adam Zionts
@zionts
Danielle Man
@daniman
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Michael Watson
@michael-watson
Thao
@thao
Justin Anastos
@justin-anastos
Tim Hingston
@timbotnik
Adam Torres
@adamatorres
Alisha Ehrlich
@alisha-ehrlich
Chang Wang
@cheapsteak
Claire Hough
@clairehough
David Glasser
@glasser
François Dufour
@francois-dfr
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

No provider for Apollo!

Hi. I just created new app with ng new and after that I wanted to use docs to test if all is working properly. https://www.apollographql.com/docs/angular/ When I follow that guide and add apollo-angular I've got an error in console. NullInjectorError:…

thumbsup
0
message-simple
0

Query argument observable, update query on argument update

I have a query I want to change the argument input on user selection and update access controlled components throughout the application. I'd prefer to not have to manually wire up every component to a state service, when I almost always want the argument to come from the same…

thumbsup
0
message-simple
0

Apollo graphql issue when set cookieService with httpOnly:true

I'm using Apollo graphql in my angular application and i have an issue when set cookieService with httpOnly:true. it doesn't send the cookie per request I made createHttpLink({ …

thumbsup
0
message-simple
0

Handling errors with ErrorPolicy `all` in Observable subscriptions?

How do the various ApolloClient ErrorPolicy options interact with Apollo Angular's use of RxJS Observable subscriptions? I know that default none strips any returned data and calls the error subscription handler when an error is returned. But what happens with an error under…

thumbsup
0
message-simple
0

How to do efficient cache updates in v3

I've made a project where I get a large list from the back-end and display them in components. When I do a mutation to remove an item from the list I update the cache through the update function. This however triggers all the items in the list to go through ngOnChanges. Now I…

thumbsup
0
message-simple
0

Codegen to the same dir as .graphql file

Is it possible to generate the class files for queries to the same directory where .graphql file is located? I have card components where some of them load the same "endpoints" but with different queries and I would like to separate the queries for each card. eg. more than one…

thumbsup
0
message-simple
0
Deleted·57d# Apollo Angular

Why my mutations never return in Angular?

I can't get my mutations to return anything. I can see in the network tab of the developer tools that the request went through and returned status 200. my code:

thumbsup
2
message-simple
5

Setting up test bed for Apollo Angular

Trying to set up a test bed in order to test my Apollo queries. Not sure what I'm doing wrong. Any help is appreciated. Tested using Karma …

thumbsup
0
message-simple
1

I am trying to use Apollo with nguniversal/express (to be able to render on the…

I am trying to use Apollo with nguniversal/express (to be able to render on the server) I get a network error 0, and I am unsure why its not quite obvious the request works once the client renders, and fails on the SSR.

thumbsup
0
message-simple
3

Query returning empty array

Hi all, I just installed and setup apollo-angular, successfuly tested that it's receiving data from the back-end, but I'm receiving an empty array for the data. Code looks like: I've tested this query on the backend (Hasura), and it's working as I expect it. Permissions are…

thumbsup
0
message-simple
2