Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async RecordSource methods mentioned in docs but don't seem to exist #4609

Open
FezVrasta opened this issue Feb 1, 2024 · 0 comments
Open

Comments

@FezVrasta
Copy link

Hi, the documentation here mentions:

RecordSource (type): A collection of records keyed by their data ID, used both to represent the cache and updates to it. For example the store's record cache is a RecordSource and the results of queries/mutations/subscriptions are normalized into RecordSources that are published to a store. Sources also define methods for asynchronously loading records in order to (eventually) support offline use-cases. Currently the only implementation of this interface is RelayInMemoryRecordSource; future implementations may add support for loading records from disk.

But the RecordSource interface doesn't define async methods, nor any of the child interfaces.

Could someone please help me understand if the documentation is outdated/wrong, or if I'm missing something?

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

No branches or pull requests

1 participant