LukeMathWalker / zero-to-production

Code for "Zero To Production In Rust", a book on API development using Rust.
https://www.zero2prod.com
Apache License 2.0
5.73k stars 491 forks source link

Update validator dependency to `0.17.0` #251

Closed snaeil closed 1 month ago

snaeil commented 7 months ago

I tried to update validator to 0.17, but struggled because of using a struct with unnamed fields.

I guess it would be possible with a struct containing named fields.

Since I am new to rust, I also opened an issue in the validator repository repository to ask whether this is actually possible without using a struct with named fields only: https://github.com/Keats/validator/issues/298

LukeMathWalker commented 1 month ago

Fixed in the next book release, thanks!