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.
Currently,
collection.get(req)in the client actually does acollection.query('records', req), soreqcan be a either{ schema, id }or{ key, seq }. Likely we want to have two seperate methods for this, because forkey, 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.