martin-g commented on issue #292:
URL: https://github.com/apache/avro-rs/issues/292#issuecomment-3351145939

   The following schema works fine:
   ```rust
   let raw_schema = r#"{
                     "type": "array",
                     "items": {
                         "name": "foo",
                         "type": "record",
                         "fields": [
                             {
                                 "name": "bar",
                                 "type": {
                                     "type": "array",
                                     "items": {
                                         "type": "record",
                                         "name": "baz",
                                         "fields": [
                                             {
                                                 "name": "quux",
                                                 "type": "int"
                                             }
                                         ]
                                     }
                                 }
                             }
                         ]
                     }
                 }"#;
   ```
   
   Notice:
   ```
    "type": {
                                     "type": "array",
                                     "items": {
   ```
   
   I will debug why the reported schema leads to problems. Its `items` is not 
recognized and it is stored as custom_attributes.
   


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