Kriskras99 opened a new pull request, #571:
URL: https://github.com/apache/avro-rs/pull/571

   This adds a test to every generated schema to check if the schema can 
actually be created. Tests are automatically disabled for types with generics, 
consts, or lifetimes. They can also be disabled by setting `#[avro(test = 
false)]` on the type, for if a user uses a different validator at runtime or 
the type is inside a function which would trigger the `unnameable_test_items` 
lint.
   
   In the future we could extend the attribute syntax to provide a different 
validator, so that use case would also be supported. I also think we should be 
able to test types with lifetimes, but that needs some further experimentation.


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