@@ -52,7 +52,7 @@ fn lens_flag() -> anyhow::Result<Lens> {
52
52
. next ( )
53
53
. unwrap ( ) ;
54
54
55
- let lens = Lens :: input_column ( "/flag" . parse ( ) ?, "com.Example. Flag:flag" )
55
+ let lens = Lens :: input_column ( "/flag" . parse ( ) ?, "example: Flag:flag" )
56
56
. output_column ( "/flag" , Scalars :: descriptor_scalars ( ) , [ Op :: func ( step_fn) ] )
57
57
. static_output_column (
58
58
"/flag" ,
@@ -72,11 +72,11 @@ fn lens_flag() -> anyhow::Result<Lens> {
72
72
fn main ( ) -> anyhow:: Result < ( ) > {
73
73
re_log:: setup_logging ( ) ;
74
74
75
- let instruction = Lens :: input_column ( "/instructions" . parse ( ) ?, "com.Example. Instruction:text" )
75
+ let instruction = Lens :: input_column ( "/instructions" . parse ( ) ?, "example: Instruction:text" )
76
76
. output_column ( "instructions" , TextDocument :: descriptor_text ( ) , [ ] )
77
77
. build ( ) ;
78
78
79
- let destructure = Lens :: input_column ( "/nested" . parse ( ) ?, "com.Example. Nested:payload" )
79
+ let destructure = Lens :: input_column ( "/nested" . parse ( ) ?, "example: Nested:payload" )
80
80
. output_column (
81
81
"nested/a" ,
82
82
Scalars :: descriptor_scalars ( ) ,
@@ -113,8 +113,7 @@ fn log_flag(rec: &RecordingStream) -> anyhow::Result<()> {
113
113
rec. set_time ( "tick" , TimeCell :: from_sequence ( x) ) ;
114
114
rec. log (
115
115
"flag" ,
116
- & DynamicArchetype :: new ( "com.Example.Flag" )
117
- . with_component_from_data ( "flag" , Arc :: new ( flag) ) ,
116
+ & DynamicArchetype :: new ( "example:Flag" ) . with_component_from_data ( "flag" , Arc :: new ( flag) ) ,
118
117
) ?
119
118
}
120
119
@@ -125,7 +124,7 @@ fn log_instructions(rec: &RecordingStream) -> anyhow::Result<()> {
125
124
rec. set_time ( "tick" , TimeCell :: from_sequence ( 1 ) ) ;
126
125
rec. log (
127
126
"instructions" ,
128
- & DynamicArchetype :: new ( "com.Example. Instruction" ) . with_component_from_data (
127
+ & DynamicArchetype :: new ( "example: Instruction" ) . with_component_from_data (
129
128
"text" ,
130
129
Arc :: new ( arrow:: array:: StringArray :: from ( vec ! [
131
130
"This is a nice instruction text." ,
@@ -154,7 +153,7 @@ fn log_structs_with_scalars(rec: &RecordingStream) -> anyhow::Result<()> {
154
153
rec. set_time ( "tick" , TimeCell :: from_sequence ( x) ) ;
155
154
rec. log (
156
155
"nested" ,
157
- & DynamicArchetype :: new ( "com.Example. Nested" )
156
+ & DynamicArchetype :: new ( "example: Nested" )
158
157
. with_component_from_data ( "payload" , Arc :: new ( struct_array) ) ,
159
158
) ?
160
159
}
0 commit comments