-
Notifications
You must be signed in to change notification settings - Fork 991
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(realtime): Expose store and pubsub for easier access (#9138)
**Problem** We want to be able to do things like invalidate the live query store from outside of a full graphql request - so without access to the context which these properties are typically attached to. Eg: Watching a file for changes and then invalidating a query when that file updates. **Changes** 1. Expose the pubsub and liveQueryStore from the realtime package 2. Minor renaming to make the exporting more convenient **Outstanding** 1. We may wish to do a future refactor to prevent inadvertent mutations of these but this does not need to be done right now.
- Loading branch information
1 parent
d584fd8
commit 0c79b30
Showing
3 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters