Commit fa312c8
Adding note on the use of the default
**Related Issue(s):**
- #310
**Description:**
Using multiple authentication dependencies on a single route can cause
clashes if not done correctly (merging them). This is particularly
relevant to the default `*` route. My [pull
request](stac-utils/stac-fastapi#766) on
[stac-fastapi](https://github.com/stac-utils/stac-fastapi) to
dynamically merge multiple dependencies was rejected and I don't think
it's possible to replicate it here. So I've added a note to the
dependency documentation to try to explain what to do in this case.
**PR Checklist:**
- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [x] Tests pass (run `make test`)
- [x] Documentation has been updated to reflect changes, if applicable
- [x] Changes are added to the changelog
---------
Co-authored-by: Jonathan Healy <[email protected]>* use in route authentication dependecies (#325)1 parent e45cfea commit fa312c8
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
12 | 17 | | |
13 | 18 | | |
14 | 19 | | |
| |||
0 commit comments