Closed kraenhansen closed 6 years ago
Would it be possible to use Realm JS's addListener method to listen for changes to the schema and invalidate the schema cache when it changes?
addListener
We already do that, but the realm has to be open for it to work.
Oh okay - I couldn't find the code for it .. but thanks :)
Here it is: https://github.com/realm/realm-graphql-service/blob/master/src/service.ts#L879
Would it be possible to use Realm JS's
addListener
method to listen for changes to the schema and invalidate the schema cache when it changes?