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
James Baxley
@jamesbaxley
Jason Paulos
@jasonpaulos
Julia Black
@juliablack
Martijn Walraven
@martijnwalraven
Khalil Stemmler
@khalilstemmler
Peggy Rayzis
@peggy
Ben Church
@bnchrch
Martin B
@mbonnin
Trevor Scheer
@trevor-scheer
Adam Zionts
@zionts
Evans Hauser
@evans
Stephen Barlow
@stephen-barlow
Ashi Krishnan
@rakshesha
Danielle Man
@daniman
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
Jenn Creighton
@jenncreighton
Matt DeBergalis
@debergalis
Sachin D. Shinde
@sachin-shinde
Posts
Members
Info

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
0

Mutation returning null for sub table when Foreign Key is changed.

Hello! I have a button that takes the Id of a Contact from a list and sets it as the FK of a Show table. This Contact is then displayed as the chosen Contact for this particular show. The mutation works and the Show is updated. The problem comes when the mutation tries to query…

thumbsup
0
message-simple
0

watchQuery not updated after fragment has been written to cache

Hi Folks, I have a watchQuery that basically observes some fragments, but when i write a fragment to the cache via this.apollo.getClient().writeFragment(), the watchQuery is not updated with the new fragment. What could be the reason for this?

thumbsup
1
message-simple
0

Any news on apollo-angular for the 3.0 Apollo client?

It seems like there's an ancient PR mentioned at the end of: https://github.com/kamilkisiela/apollo-angular/issues/1380

thumbsup
0
message-simple
0

What's the best way to read / write cache data

I'm currently building an app using apollo-angular and I want to cache logged in user data. Currently, I'm using mutation for the login process and adding a customId in thememoryCache like this and then when I need to get that data I use the readFragment() method like so: …

thumbsup
0
message-simple
0

Different link when user logged in

I have an angular web store app. When not logged in I want to use a link without auth headers so users can see products, when logged in I want them to use headers so they have access to account info. If I use a 'Authorisation: bearer: ${token} ' header with empty token I get an…

thumbsup
1
message-simple
6

Any ways to delete the item in cache by it's id?

I have a standard usecase where i have a list of tasks and i need to delete one of them. To do it for one query i just use update method on mutation. But now i have 3 different queries that uses the fragment Task and they are used in different places. Is there a way to delete an…

thumbsup
0
message-simple
0

Angular - ng-packagr & GraphQL precompilation to AST

Anyone managed to compile GraphQL strings to AST inside Angular library? Angular libraries are normally packaged by ng-packagr, which is not extensible really, or at least not officially. We have a lot of libraries and they all could use GraphQL, but having the huge strings in…

thumbsup
0
message-simple
0

Best place to store and call Apollo Queries in Angular App?

i'm working on an app using angular on the front end, with angular apollo connecting to an node/apollo graphql server. the graphql server works with a mongodb backend. my question is where in my angular app is the best place to fire my apollo graphql queries? I currently am…

thumbsup
0
message-simple
0

Compatible with Angular 9?

I'm trying to use Apollo-Angular with angular 9, but i get the following error: Is this a know error or am i doing something wrong?

thumbsup
1
message-simple
1