martin-g commented on code in PR #639:
URL: https://github.com/apache/avro-rs/pull/639#discussion_r3861359492
##########
avro/src/reader/single_object.rs:
##########
@@ -60,11 +60,13 @@ impl GenericSingleObjectReader {
impl GenericSingleObjectReader {
pub fn read_value<R: Read>(&self, reader: &mut R) -> AvroResult<Value> {
self.read_header(reader)?;
+ let mut ctx = DecodeContext::new();
decode_internal(
self.write_schema.get_root_schema(),
self.write_schema.get_names(),
None,
reader,
+ &mut ctx,
Review Comment:
```suggestion
decode_internal(
self.write_schema.get_root_schema(),
self.write_schema.get_names(),
None,
reader,
&mut DecodeContext::new(),
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]