-
Notifications
You must be signed in to change notification settings - Fork 373
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
Centralize freestanding store helpers #2153
Conversation
let component = iter.next(); | ||
|
||
if iter.next().is_some() { | ||
re_log::warn_once!("Unexpected batch for {} at: {}", C::name(), entity_path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
formatting
crates/re_query/src/query.rs
Outdated
@@ -79,7 +79,7 @@ pub fn get_component_with_instances( | |||
/// length. | |||
/// | |||
/// If you expect only one instance (e.g. for mono-components like `Transform` `Tensor`] | |||
/// and have no additional components you can use [`re_data_store::query_latest_single`] instead. | |||
/// and have no additional components you can use [`re_data_store::query_latest_component`] instead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
xxx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I definitely don't mind handling the annoying rebase if needed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good -- would be great if you could either merge -> the blueprint change or help re-merge main -> blueprint again after landing.
2d04d5c
to
6edf777
Compare
* centralize freestanding store helpers * port everything to new helpers * note to self * missing feature flag * docs
Just a trivial PR to centralize a bunch of freestanding helpers and improve discoverability / autocomplete etc.
Related to #2019 (if we're very generous)
PR Build Summary: https://build.rerun.io/pr/2153