Skip to content

Conversation

@rhysrevans3
Copy link
Collaborator

@rhysrevans3 rhysrevans3 commented Jan 7, 2025

Related Issue(s):

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 on 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:

  • Code is formatted and linted (run pre-commit run --all-files)
  • Tests pass (run make test)
  • Documentation has been updated to reflect changes, if applicable
  • Changes are added to the changelog

Copy link
Collaborator

@jonhealy1 jonhealy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. One small thing.

Co-authored-by: Jonathan Healy <[email protected]>
@jonhealy1 jonhealy1 merged commit fa312c8 into stac-utils:main Jan 30, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants