stac-utils / stac-utils/stac-fastapi

Inject extra links when extension is enabled

Open
#475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
324
Forks
126
Avg merge
1d 22h
Merged PRs (30d)
10

Description

Ref https://github.com/stac-utils/stac-fastapi/pull/474

Currently there is no (at least that I am aware of) mechanism to inject extra links as part of an extension, so hardcoding the queryables links will result in bad links when the FilterExtension is not enabled.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the referenced pull request 474 and trace how extension-provided links and queryables links are currently assembled. Define the extension mechanism needed to add links only when the relevant extension is enabled, then verify that links are correct with and without the FilterExtension.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.