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

Rethink get and RecordCache in client #58

Open
Frando opened this issue Jun 12, 2020 · 0 comments
Open

Rethink get and RecordCache in client #58

Frando opened this issue Jun 12, 2020 · 0 comments

Comments

@Frando
Copy link
Member

Frando commented Jun 12, 2020

Currently, collection.get(req) in the client actually does a collection.query('records', req), so req can be a either { schema, id } or { key, seq }. Likely we want to have two seperate methods for this, because for key, seq (= ref soon?) we can easily check if the record is already loaded. For { schema, id } we might want to do the query always at the moment because new updates could have happened.

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