Closed
Description
Describe the bug
db_to_stac method to transform database model to STAC collection is adding a set of links by default. "Items" link is not included in the list of inferred. So the later invoking to resolve_links adds it again because "items" passes this filter.
To Reproduce
Steps to reproduce the behavior:
- Uploads a Collection to ES
- Reads it using CollectionSerializer:db_to_stac()
Expected behavior
"Items" link should be unique. INFERRED_LINK_RELS should include "Items" or taking care of this issue in Serializer.
Metadata
Metadata
Assignees
Labels
No labels