GraphQL cache is broken

Today, I asked your team to enable the "Bulk Actions" change in my repository.
But it actually broke the GraphQL of my repository.
So I asked you to remove it.
I'm trying to query my "Post"s with the Apollo Client in Next.js. And it's returning a 400 error.
But the "Posts" are in prismic, and I can use the same query, in the GraphQL console.!

Hi Mateus,

Thanks for your contribution,

First of all, GraphQL would be compatible with bulk actions, but it seems that your repository was moved to the wrong version (I will investigate further the issue)

And can you please confirm that your same query works in the Prismic GraphQL console? If that is the case, you probably need to empty the cash of your application if you have any.

I will gather some information and get back to you as well,
Best.
Fares.

Hi,
I've done some research and in order to be sure the this is a cache issue you can disable it tempraroy such as:

const { loading, error, data } = useQuery(GET_DOGS, {
  fetchPolicy: "no-cache"
});

I don't know much about Apollo Client so I hope that this can help.

If it is in-memory cache then stopping your server and running it will empty the cache:

 import { ApolloClient, HttpLink, InMemoryCache } from ...

This issue has been closed due to inactivity. Flag to reopen.