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
Combine inherited nonparam Security() objects #5667
base: master
Are you sure you want to change the base?
Combine inherited nonparam Security() objects #5667
Conversation
📝 Docs preview for commit cf481b5 at: https://637a7de7e090c274f2beeb27--fastapi.netlify.app |
Maintain order of dependencies when collapsing keep ineritied security scopes in list order
cf481b5
to
bec2dfc
Compare
📝 Docs preview for commit bec2dfc at: https://637a7f109d407f7b0734912b--fastapi.netlify.app |
bec2dfc
to
a4deef4
Compare
📝 Docs preview for commit a4deef4 at: https://637a80dc662f72679008991b--fastapi.netlify.app |
📝 Docs preview for commit c22da74 at: https://6388bd4607d6820084382e83--fastapi.netlify.app |
📝 Docs preview for commit 4b66d8f at: https://639ce5f789c20f057ba4cd45--fastapi.netlify.app |
📝 Docs preview for commit dfe1220 at: https://639eef222b35ad633be481bd--fastapi.netlify.app |
A simplified version of the rejected #5433 , this one combines the list of inherited "nonparam" dependencies. Multiple instances of a
Security
dependency are combined, theirscopes
joined into a single scope list.This serves two purposes:
Example:
see also #5622 which proposes to join nonparam dependencies with parameter dependencies in a similar manner.