mirror of
https://github.com/actix/actix-web.git
synced 2024-11-18 15:41:17 +00:00
add query deprecation info
This commit is contained in:
parent
1aadfee6f7
commit
31e23d4ab1
1 changed files with 6 additions and 0 deletions
|
@ -15,6 +15,12 @@
|
||||||
|
|
||||||
* `FromRequest::Result` has to implement `Into<Reply<Self>>`
|
* `FromRequest::Result` has to implement `Into<Reply<Self>>`
|
||||||
|
|
||||||
|
* `HttpRequest::query()` is deprecated. Use `Query` extractor.
|
||||||
|
|
||||||
|
```rust
|
||||||
|
let q = Query::<HashMap<String, String>>::extract(req);
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Migration from 0.4 to 0.5
|
## Migration from 0.4 to 0.5
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue