1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-06-25 22:49:21 +02:00

Query config (#839)

* add QueryConfig

* expose QueryConfig in web module

* fmt

* use associated type for QueryConfig

* update CHANGES.md
This commit is contained in:
Davide Di Carlo
2019-05-14 22:54:30 +02:00
committed by Nikolay Kim
parent f8af3b86e5
commit bba90d7f22
4 changed files with 120 additions and 4 deletions

View File

@ -1,5 +1,9 @@
# Changes
### Add
* `QueryConfig`, similar to `JsonConfig` for customizing error handling of query extractors.
### Changes
* `JsonConfig` is now `Send + Sync`, this implies that `error_handler` must be `Send + Sync` too.