hi, graphcool algolia integration isn’t working fo...
# prisma-whats-new
j
hi, graphcool algolia integration isn’t working for me atm - information isn’t updating between graphcool and algolia when changed
n
@jarus hey how are you updating the node?
j
i’m just trying to sort the results by a field my users have called _followerMeta.count
that isn’t sending over to algolia right now, it was working yesterday
n
can you show me an example?
j
also: any new users i add to data won’t send over today
yeah one sec
n
ok thanks we'll take a look 🙌
j
so the node at the moment looks like { node { id username _followerMeta { count } } }
when i created the node it created the index in algolia
without follower meta
mutation { createUser( username: “username” authProvider: { email: { email: “email”, password: “password”} } ) { id } }
when i create a user via graphiql with
it builds in graphcool’s data but wont update algolia’s records
n
ah
can you try this
Copy code
followerCount: _followerMeta {
       count
     }
j
{ node { id username followerCount: _followerMeta { count } } }
no luck with that
another problem is that it isn’t updating between graphcool and algolia, each time i add a bit of data to graphcool it isn’t adding that record to algolia
but also that other thing
n
Did you change anything with the index itself?
j
in algolia? or graphcool
n
both 🙂
j
i haven’t touched the index in algolia, in graphcool i just added the username, followermeta stuff
n
can you remove the follower meta count and update your index?
and see if it works then
j
oh it just updated now
n
ah interesting
j
i think it’s updating whenever i edit the index from graphcool
but not ‘live sync’ or whatever its called
n
could you send me your project id in PM?
j
yeah
it’s odd because the _followerMeta { count }
thing was working yesterday
on top of also the live sync
p
I am having the same issue, algolia only syncs with graphcool when I change the index in the graphcool console, it won’t sync when I update an individual record. I haven’t touched the index in algolia.