decentraland / decentraland/builder-server

Create a merger mechanism to composite the collection's graph data with the one from the DB.

Open
#527 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
20
Forks
17
Avg merge
5d 8h
Merged PRs (30d)
3

Description

## 🎉 Description

When we introduced the pagination and filters to the `/collections` endpoint, we added the option to filter by status. The problem here is that the `approved` ones can only be retrieved from the graph, so we had to move the fetch before getting the db data. A proper solution will be to create a merger mechanism that fetch both the graph and db data and then consolidates (or hydrates the graph data with the db one).

* [ ] 🐛 This is a bug report.
* [X] 📈 This is a feature request.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.