jklamer commented on code in PR #1672:
URL: https://github.com/apache/avro/pull/1672#discussion_r864420229


##########
lang/rust/avro/src/schema.rs:
##########
@@ -434,6 +434,86 @@ impl<'s> ResolvedSchema<'s> {
     }
 }
 
+pub(crate) struct ResolvedOwnedSchema {

Review Comment:
   Im not sure. The ResolvedSchema has that lifetime that Im not sure how to 
associate with another field in the struct.
   The design for GenericSingleObjectWriter would have to be 
   ```
   pub struct GenericSingleObjectWriter {
       buffer: Vec<u8>,
       schema: Schema, // with lifetime 'a?
       resolved: ResolvedSchema<'a>,
   }
   ```



-- 
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]

Reply via email to