Hi all! I am using an @cypher directive in my typeDefs to bring in some results from a NEO4j backend. The query runs in Graphql/Apollo, but then the results are duplicated for every node within that type, rather than just once on the node that is indicated in my variable. (I’m getting the same data 800 times instead of 1). I’ve read about cache issues, but I don’t understand if that is what is happening in my situation or if something else is wrong. If the cache issue is what I’m dealing with, I don’t know how to implement the changes as everything I’m reading seems to fix things in the app.js side and not on the API side. Thoughts?
Related Topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Reducing repetition in query responses | 2 | 786 | April 13, 2023 | |
Help ! some query data returning null or undefined from schema[typedefs] on subscription | 0 | 1132 | February 20, 2022 | |
My framework uses Apollo Client to support OUT-OF-THE-BOX | 4 | 586 | August 18, 2021 | |
How to structure a graph and queries with lots of repeated data | 0 | 471 | September 22, 2021 | |
Having problem with removeDirectivesFromDocument | 1 | 395 | September 8, 2021 |