chupaty commented on code in PR #66:
URL: https://github.com/apache/avro-rs/pull/66#discussion_r1877280974


##########
avro/src/schema.rs:
##########
@@ -1202,6 +1215,38 @@ impl Schema {
             attributes,
         })
     }
+
+    fn denormalize(&mut self, schemata: &Vec<Schema>) {
+        match self {
+            Ref { name } => {
+                let repl = schemata
+                    .iter()
+                    .find(|s| s.name().map(|n| *n == *name).unwrap_or(false));
+                if let Some(r) = repl {

Review Comment:
   SchemaResolutionError - added a test for this as well



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