anuraghazra / anuraghazra/convoychat
Overfetching data
- Langage dominant
- TypeScript
- Étoiles
- 214
- Forks
- 42
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
In [room-resolver.ts](https://github.com/anuraghazra/convoychat/blob/8eedf6d67d4502ed9cc43ccfbcd25d222bf8e5d6/server/modules/room/room-resolver.ts)
- [ ] **Overfetching rooms**
We have two queries `listRooms` and `listCurrentUserRooms`.
When you execute both queries on the client side, we run into a situation where room data is over fetched.
- [ ] **Overfetching message author**
There is a possibility that a user can be a part of multiple rooms and many messages can have the same users.
You can fix this by using field resolver with dataloader.
The second one is a must I think.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.