Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] Added notes about extractor precedence #1324

Merged
merged 6 commits into from Aug 26, 2022

Commits on Aug 25, 2022

  1. [doc] Added notes about extractor precedence

    Both JSON and Form extractors consume the Body when they run, so they
    need to be last in the order of extractors.
    Added a note in the structs docs themselves pointing to the relevant
    part of the documentation.
    chrisglass committed Aug 25, 2022
    Copy the full SHA
    27dc5e8 View commit details
    Browse the repository at this point in the history
  2. Address review comments

    - Added documentation snippet to  BodyStream, RawBody, Multipart
    - Added documentation about the inner type of ContentLengthLimit
    - Fixed link type in State
    chrisglass committed Aug 25, 2022
    Copy the full SHA
    2895f46 View commit details
    Browse the repository at this point in the history
  3. Update axum/src/extract/content_length_limit.rs

    Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
    chrisglass and davidpdrsn committed Aug 25, 2022
    Copy the full SHA
    1e60bfc View commit details
    Browse the repository at this point in the history
  4. Cargo fmt didn't run for some reason

    I need to check my editor config...
    chrisglass committed Aug 25, 2022
    Copy the full SHA
    80479fa View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2022

  1. Apply suggestions from code review

    Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
    chrisglass and davidpdrsn committed Aug 26, 2022
    Copy the full SHA
    8cc1445 View commit details
    Browse the repository at this point in the history
  2. Add targets to links

    chrisglass committed Aug 26, 2022
    Copy the full SHA
    086fa09 View commit details
    Browse the repository at this point in the history