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

deprecate Fields default-includes #706

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

vincentsarago
Copy link
Member

ref: #642, stac-utils/stac-fastapi-elasticsearch-opensearch#217

This PR does:

  • removes default_includes from the APISettings
  • removes default_includes attribute from FieldsExtension (this was in fact creating a circular dependency between the Extension and the APISettings 🤯)
  • add deprecation warning for PostFieldsExtension.filter_fields this should be implemented by each backend (as stac-fastapi-pgstac already does)

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.

Nice work

@jonhealy1 jonhealy1 merged commit d8528ae into main Jun 13, 2024
7 checks passed
@jonhealy1 jonhealy1 deleted the features/deprecate-default-includes branch June 13, 2024 11:01
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