martin-g commented on code in PR #571:
URL: https://github.com/apache/avro-rs/pull/571#discussion_r3557592758
##########
avro/src/serde/derive.rs:
##########
@@ -102,6 +102,11 @@ use crate::{
///
/// Use the schema of the inner field directly. Is only allowed on structs
with only one unskipped field.
///
+/// - `#[avro(test = false)]`
+///
+/// To disable generating tests for derived schemas. This is useful if you
use a different [validator](crate::validator)
+/// or the `unnameable_test_items` lint is triggered because the type your
deriving is inside a function.
Review Comment:
```suggestion
/// or the `unnameable_test_items` lint is triggered because the type
you're deriving is inside a function.
```
##########
avro_derive/src/attributes/avro.rs:
##########
@@ -85,6 +85,9 @@ pub struct ContainerAttributes {
/// Force the generator to use a certain schema representation
#[darling(default)]
pub repr: Option<Repr>,
+ /// Force the generator to use a certain schema representation
Review Comment:
The docstring is a copy/paste from line 85
--
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]