murar8 / axum_typed_multipart

Type safe multipart/form-data handling for axum.
84 stars 14 forks source link

Naming convention error #9

Closed Wiz1991 closed 1 year ago

Wiz1991 commented 1 year ago

When deriving from TryFromMultipart, I get the following warning: Variable `__field__name__` should have snake_case name, e.g. `__field_name`

This is my struct:

#[derive(TryFromMultipart)]
struct ParsePdf {
    pdf: FieldData<TempFile>,
}
murar8 commented 1 year ago

Thank you for letting me know, I will have it fixed in a few days.

murar8 commented 1 year ago

Fixed in 0.5.1