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

[TO BE DISCUSSED] refactor factories to enable more customization #83

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vincentsarago
Copy link
Member

resolves #45

This PR does:

  • refactor the main Endpoints Factory to inherit from both Features and Tiles factories (so we can reuse methods)
  • export links to separate methods (features/tiles/common links)
  • create a new Catalog dependency
  • add module variables for conformance classes

@@ -85,7 +85,7 @@ async def lifespan(app: FastAPI):
ogc_api = Endpoints(
title=settings.name,
templates=templates,
with_tiles_viewer=settings.add_tiles_viewer,
with_viewer=settings.add_tiles_viewer,
Copy link
Member Author

Choose a reason for hiding this comment

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

need to be added in the changelog!

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.

Links inference
1 participant