Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Add JS API for Clearing GraphQL cache #88

Open
ianpward opened this issue Jan 8, 2019 · 0 comments
Open

Add JS API for Clearing GraphQL cache #88

ianpward opened this issue Jan 8, 2019 · 0 comments

Comments

@ianpward
Copy link

ianpward commented Jan 8, 2019

In the context of the customer Yuka we encountered an issue where (according to Nikola)

GraphQL never responds to the query and most likely the 502s they are reporting are a result of some gateway timeout

To remedy this it was necessary for us to clear the ROS-level Realm cache, which is cumbersome and requires as well the customer to issue a service request.

Can we please add a convenience api to allow either Realm SE's or even the customer to remedy this without involving engineering. Proposed is a schema as follows:
DELETE /graphql/schema/:path

We can then update the documentation here to reflect this:
https://github.com/realm/realm-graphql-service#endpoints

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants