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

docs: Clarify path matching in intercept() #2426

Merged
merged 1 commit into from
Nov 20, 2023
Merged

docs: Clarify path matching in intercept() #2426

merged 1 commit into from
Nov 20, 2023

Commits on Nov 11, 2023

  1. docs: Clarify path matching in intercept()

    The behavior of `query` was unclear, as it only applies to the case where `path` is provided as a `string`.
    
    It also wasn't clear that the `RegExp` and callback case will receive the query as part of the path.
    
    The additional guidance should help with both. To further clarify the use case, an example for the callback scenario was added.
    
    Closes: #2385
    oliversalzburg committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    435830f View commit details
    Browse the repository at this point in the history