builder-server icon indicating copy to clipboard operation
builder-server copied to clipboard

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

Open juanmahidalgo opened this issue 2 years ago • 0 comments

🎉 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.

juanmahidalgo avatar May 19 '22 15:05 juanmahidalgo