Issues querying dynamic puzzle data through apollo client?

Similar to the letters boxed puzzles I’ve been working on, I’ve been experimenting with a small side project that retrieves structured puzzle data from a source. However, I’m encountering an odd problem when retrieving dynamic fields using apollo client.

Certain queries function flawlessly until the data structure slightly changes, such as when new puzzle nodes are added. At that point, apollo begins returning cached fragments or partial data that don’t update unless I manually reset the store.

Has anyone witnessed apollo’s difficulties with dynamic or constantly shifting node structures? I want to know if this has to do with cache normalisation, type policies, or missing id fields in specific sub-types. I’m also wondering if employing fetchPolicy: “network-only” is merely hiding the underlying problem or if it’s a good long-term solution.

I would value any insight from anyone who’s dealt with rapidly changing content structures.

Hey @norman458 :waving_hand:

Could you give some more specifics? What do you mean by “data structure slightly changes” or “rapidly changing content structures”? That confuses me since GraphQL queries guarantee you a shape of the data so I’m not quite sure what you mean here. I’d be happy to lend some advice if you can provide some more specific details and examples on what you’re seeing.