@@ -136,7 +136,13 @@ impl Reader {
136
136
Store :: from_stream_async ( format, & mut stream, verify, & mut validation_log) . await
137
137
} ?;
138
138
139
- Self :: from_store ( store, & validation_log)
139
+ let /* mut */ result = Self :: from_store ( store, & validation_log) ?;
140
+ if false {
141
+ // QUESTION: What to do if we're in the _sync version and there
142
+ // are identity assertions? Just report an error (needs async)?
143
+ todo ! ( "Add identity assertion validation here" ) ;
144
+ }
145
+ Ok ( result)
140
146
}
141
147
142
148
#[ async_generic( ) ]
@@ -151,7 +157,11 @@ impl Reader {
151
157
Store :: from_stream_async ( format, & mut stream, verify, & mut validation_log) . await
152
158
} ?;
153
159
154
- Self :: from_store ( store, & validation_log)
160
+ let mut result = Self :: from_store ( store, & validation_log) ?;
161
+ if false {
162
+ todo ! ( "Add identity assertion validation here" ) ;
163
+ }
164
+ Ok ( result)
155
165
}
156
166
157
167
#[ cfg( feature = "file_io" ) ]
@@ -735,6 +745,9 @@ impl Reader {
735
745
validator: & impl AsyncPostValidator
736
746
) ) ]
737
747
pub fn post_validate ( & mut self , validator : & impl PostValidator ) -> Result < ( ) > {
748
+ if true {
749
+ todo ! ( "Remove me" ) ;
750
+ }
738
751
let mut validation_log = StatusTracker :: default ( ) ;
739
752
let mut validation_results = self . validation_results . take ( ) . unwrap_or_default ( ) ;
740
753
let mut assertion_values = HashMap :: new ( ) ;
@@ -997,6 +1010,9 @@ pub mod tests {
997
1010
998
1011
#[ test]
999
1012
fn test_reader_post_validate ( ) -> Result < ( ) > {
1013
+ if true {
1014
+ todo ! ( "Remove me" ) ;
1015
+ }
1000
1016
use crate :: { log_item, status_tracker:: StatusTracker } ;
1001
1017
1002
1018
let mut reader =
0 commit comments