From: dasstyxx <79259281+dasstyxx@users.noreply.github.com> Date: Thu, 13 Apr 2023 18:21:17 +0000 (+0300) Subject: ✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations... X-Git-Tag: 0.95.1~17 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=571b5c6f0c495482713faca8e0ba7d20245a127f;p=thirdparty%2Ffastapi%2Ffastapi.git ✏ Fix typo: 'wll' to 'will' in `docs/en/docs/tutorial/query-params-str-validations.md` (#9380) --- diff --git a/docs/en/docs/tutorial/query-params-str-validations.md b/docs/en/docs/tutorial/query-params-str-validations.md index 6a5a507b91..2debd088a0 100644 --- a/docs/en/docs/tutorial/query-params-str-validations.md +++ b/docs/en/docs/tutorial/query-params-str-validations.md @@ -110,7 +110,7 @@ Notice that the default value is still `None`, so the parameter is still optiona But now, having `Query(max_length=50)` inside of `Annotated`, we are telling FastAPI that we want it to extract this value from the query parameters (this would have been the default anyway 🤷) and that we want to have **additional validation** for this value (that's why we do this, to get the additional validation). 😎 -FastAPI wll now: +FastAPI will now: * **Validate** the data making sure that the max length is 50 characters * Show a **clear error** for the client when the data is not valid