-
Notifications
You must be signed in to change notification settings - Fork 372
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
arrow2-convert
migration 5: sunset arrow2-convert
#3917
Conversation
0b54344
to
ad9c851
Compare
68e707b
to
3d6bae9
Compare
@@ -574,7 +574,7 @@ fn quote_arrow_field_serializer( | |||
}) | |||
.transpose() | |||
}) | |||
.collect::<::re_types_core::SerializationResult<Vec<_>>>()? |
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.
a ;
after a collect
that has no let
binding? what is going on here?
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.
Yeah the whole "who's responsible for the trailing ';'" is a mess in general.
I'll clean that up during the switch to arrow1, likely by introducing a new rule that if your quote block does not do the assignment, then it should not include the trailing comma.
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.
good riddance!
…3902) This introduces the `rust.attr.serde_type` attribute, allowing you to use any `serde`-compatible Rust types in our IDL. ``` table ViewportLayout ( "attr.rust.derive": "PartialEq", "attr.rust.override_crate": "re_viewport" ) { space_view_keys: [ubyte] (order: 100, "attr.rust.serde_type": "std::collections::BTreeSet<re_viewer_context::SpaceViewId>"); tree: [ubyte] (order: 101, "attr.rust.serde_type": "egui_tiles::Tree<re_viewer_context::SpaceViewId>"); auto_layout: bool (order: 102); } ``` This unblocks further blueprint experimentations, and is the last blocker to sunset `arrow2-convert`. - `SpaceViewComponent`, `SpaceViewMaximized` & `ViewportLayout` are now all implemented that way. - `re_viewport` is now free of `arrow2-convert`. --- `arrow2-convert` migration PR series: - #3853 - #3855 - #3897 - #3902 - #3917
3d6bae9
to
d139fa5
Compare
The end of our wonderful journey.
NumInstances
control column now has an actual dedicated component type.EntityPath
is now a component.Into<Cow<Self>>
impls have been cleaned up to generate way less code.arrow2_convert
is fully gone.arrow2-convert
migration PR series:arrow2-convert
migration 1:TUID
,RowId
,TableId
#3853arrow2-convert
migration 2: non-serde blueprint types #3855arrow2-convert
migration 3:attr.rust.override_crate
& optimizing out dependencies #3897arrow2-convert
migration 4: support serde-based types in codegen #3902arrow2-convert
migration 5: sunsetarrow2-convert
#3917arrow2-convert
migration 4: support serde-based types in codegen #3902 firstChecklist