CodeChain-io / CodeChain-io/codechain-indexer
The asset type field is duplicated in the snapshot API
- Langage dominant
- TypeScript
- Étoiles
- 21
- Forks
- 15
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In the result of snapshot API, all rows have the same asset scheme information. Let's remove the duplication.
When indexer queries the snapshot in the DB it joins the `AssetSchemes` table. Let's split the query.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Locate the snapshot API query that joins the AssetSchemes table, then inspect how the joined asset scheme data is included in each result row. Split the database query so the shared asset scheme information is not duplicated in every row. Confirm that snapshot API results still contain the asset scheme information without repeating it per row.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- typescript
- Domaine
- api, database
- Type d'issue
- Refactorisation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100